[BUG] urar extfs in mc-4.6.0-pre2
Tomas Styblo
tripie at cpan.org
Fri Jan 3 17:02:37 UTC 2003
* Andrew V. Samoilov <sav at bcs.zp.ua> [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 <tripie at cpan.org>
PGP: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC97EA4B6
More information about the mc-devel
mailing list