Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

kdb: nesting of commands #539

Closed
markus2330 opened this issue Feb 22, 2016 · 3 comments
Closed

kdb: nesting of commands #539

markus2330 opened this issue Feb 22, 2016 · 3 comments
Assignees

Comments

@markus2330
Copy link
Contributor

getopt reorders the arguments which causes a problem when commands are nested.

E.g. bin/kdb elektrify-getenv echo -n -e "hello world"
Causes The command elektrify-getenv is not known (even though the command actually exists and /usr/lib/elektra/tool_exec/-n was actually stat()ed.

Workaround: set the environment variable POSIXLY_CORRECT, but this breaks arguments mixed in non-posix conform ways.

@markus2330 markus2330 added this to the 0.8.16 milestone Feb 22, 2016
@markus2330 markus2330 added the bug label Feb 22, 2016
@markus2330 markus2330 reopened this Aug 10, 2022
@markus2330 markus2330 removed this from the 0.8.16 milestone Aug 10, 2022
@markus2330
Copy link
Contributor Author

@hannes99 also some old bug that should be fixed with the rewrite.

Copy link

I mark this stale as it did not have any activity for one year. I'll close it in two weeks if no further activity occurs. If you want it to be alive again, ping by writing a message here or create a new issue with the remainder of this issue.
Thank you for your contributions 💖

@github-actions github-actions bot added the stale label Feb 27, 2024
Copy link

I closed this now because it has been inactive for more than one year. If I closed it by mistake, please do not hesitate to reopen it or create a new issue with the remainder of this issue.
Thank you for your contributions 💖

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants