[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH][RFC] New 'true' program

From: Paul Eggert
Subject: Re: [PATCH][RFC] New 'true' program
Date: Fri, 19 Nov 2004 22:20:58 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Felipe W Damasio <address@hidden> writes:

> It's semantically _equivalent_ to the current 'true' code on
> coreutils,

No, as it doesn't support "true --version" or "true --help".

>       The regular executable is 6.7K, and the stripped version is 3.2K.

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 $?

(The 10-byte implementation is left to the reader.  :-)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]