* Andrew V. Samoilov <[EMAIL PROTECTED]> [Fri, 03 Jan 2003]: > Tomas Styblo wrote: > >~~~ SNIP ~~~ > >If a command is not found, the exit status shall be 127. If the > >command name is found, but it is not an executable utility, the > >exit status shall be 126. > >~~~ SNIP ~~~ > > Sorry, but it should be too easy to be true. Zsh returns 1 in this > case. And some distros symlinks zsh as /bin/sh.
I experimented with the unrar and found that unrar l /dev/null >/dev/null 2>&1 returns zero. This tells unrar to list an empty archive. Maybe we could use it ? -- Tomas Styblo <[EMAIL PROTECTED]> PGP: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC97EA4B6 _______________________________________________ Mc-devel mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/mc-devel