LWN.net Logo

Disk space (was: SELF: Anatomy of an (alleged) failure)

Disk space (was: SELF: Anatomy of an (alleged) failure)

Posted Jun 25, 2010 15:38 UTC (Fri) by intgr (subscriber, #39733)
In reply to: Disk space (was: SELF: Anatomy of an (alleged) failure) by dark
Parent article: SELF: Anatomy of an (alleged) failure

Indeed, I use those features every day! ;)

PS: Shells like zsh actually ship builtin "true" and "false" commands


(Log in to post comments)

Disk space (was: SELF: Anatomy of an (alleged) failure)

Posted Jun 29, 2010 23:03 UTC (Tue) by peter-b (subscriber, #66996) [Link]

So does POSIX sh. The following command is equivalent to true:

:

The following command is equivalent to false:

! :

I regularly use both when writing shell scripts.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds