2 ms·
Okay, so your tar is defective[0], and? I can do that too: $ list '#! /bin/sh' 'echo "tar: invalid command" >&2' 'exit 64' >/tmp/tar $ chmod a+x /tmp/tar
by a1369209993 6y ago
Okay, so your tar is defective[0], and? I can do that too:
$ list '#! /bin/sh' 'echo "tar: invalid command" >&2' 'exit 64' >/tmp/tar
$ chmod a+x /tmp/tar
$ PATH="/tmp:$PATH"
$
$ tar -cf a.tar a/
tar: invalid command
$
0: any program that doesn't support --help is defective, which was rather my point.
- scbrg 6y ago> 0: any program that doesn't support --help is defective, which was rather my point. Fair enough. My point was that there's a category of operating systems where long options (including --help) isn't really a thing. You may of course consider them defective, though I'm not sure everybody agrees.