Bug ID | 1205366 |
---|---|
Summary | Consider adding /usr/bin/command binary |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | All |
OS | openSUSE Tumbleweed |
Status | NEW |
Severity | Enhancement |
Priority | P5 - None |
Component | Basesystem |
Assignee | screening-team-bugs@suse.de |
Reporter | giorgio.gallo@bitnic.it |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0 Build Identifier: One of the sh scripts I used to run on fedora gave "xargs: command: No such file or directory" on opensuse (the offending line was something similar to "echo $variable | xargs command ssh-add -q"). It turns out opensuse (I think all versions?) lacks "command" as a standalone executable. According to some rando on reddit [1], command is required by POSIX... even if turns out that is not the case, it's a tiny executable and other distros have it: would it hurt to add it? [1] https://www.reddit.com/r/linuxquestions/comments/yt32r9/comment/iw23fw8 Reproducible: Always Steps to Reproduce: 1. $ echo | xargs command -v ls Actual Results: xargs: command: No such file or directory Expected Results: /usr/bin/ls