[ILUG] [TOTD] find error corresponding to number
lbedford at lbedford.org
Fri May 7 13:40:28 IST 2004
Colm MacCarthaigh wrote:
>On Fri, May 07, 2004 at 01:02:13PM +0100, kevin lyda wrote:
>>hm. we should have a competition each month to come up with the tiniest
>>program in whatever language to acomplish some trivial task.
>here's the source for "true" on solaris:
>colmmacc at prodigy (~) $ cat /usr/bin/true
># Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
># All Rights Reserved
># THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T
># The copyright notice above does not evidence any
># actual or intended publication of such source code.
>#ident "@(#)true.sh 1.6 93/01/11 SMI" /* SVr4.0 1.4 */
>colmmacc at prodigy (~) $
at least it's not 9K of compiled C with things like
bash-2.05a$ /bin/true --help
Usage: /bin/true [ignored command line arguments]
or: /bin/true OPTION
Exit with a status code indicating success.
These option names may not be abbreviated.
--help display this help and exit
--version output version information and exit
Report bugs to <bug-sh-utils at gnu.org>.
More information about the ILUG