[Bug 709] unknown_command | tar xv

bugzilla at linuxfromscratch.org bugzilla at linuxfromscratch.org
Thu Dec 2 07:37:25 PST 2004


------- Additional Comments From kpfleming at linuxfromscratch.org  2004-12-02 08:37 -------
I don't believe that's true. The bug was not a complaint about handling of
unknown compression formats, it's a complaint about the shell's handling of
failures of the non-trailing commands in a pipe.

The issue is that if the first command in a two-command pipe does not exist, or
is not executable (as opposed to being executable but returning failure), the
entire pipe command is not executed, but the shell does not return a failure
error level. There is a shopt you can set in bash to work around this behavior,
but it's bash specific and we didn't want to build bash-specificity into nALFS.

The true solution to this problem is to not use the shell for piping commands
together, but to do it directly in the application.

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.

More information about the alfs-log mailing list