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>.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!