On Sat, Nov 20, 2004 at 01:02:37PM +0000, Philip Rowlands wrote: > On Fri, 19 Nov 2004, Paul Eggert wrote: > > >If small size is all you want, I can do a lot better than that: > > > >$ ls -l true > >-rwxr-xr-x 1 eggert eggert 10 2004-11-19 22:18 true > >$ ./true; echo $? > >0 > > Can't beat this for size: > > $ ls -l true > -rwxr-xr-x 1 prowlands users 0 Nov 20 12:59 true > $ ./true; echo $? > 0 > > (The implementation is left to the reader. :-)
Yes :) but execve(2) returns ENOEXEC:
$ env -i strace ./true
execve("./true", ["./true"], [/* 0 vars */]) = 0
strace: exec: Exec format error
--
ldv
pgpsAvGIIP8U3.pgp
Description: PGP signature
_______________________________________________ Bug-coreutils mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/bug-coreutils
