fix one-liner
This commit is contained in:
parent
ecc3ad7cb6
commit
5149d9c4f6
@ -56,7 +56,7 @@ In some shells, <CODE>true(1)</CODE> is a shell built-in command, so running <CO
|
|||||||
<P>
|
<P>
|
||||||
GNU <CODE>true(1)</CODE>, from the GNU coreutils, deserves a special mention, as it's eighty lines long and directly includes four C header files.
|
GNU <CODE>true(1)</CODE>, from the GNU coreutils, deserves a special mention, as it's eighty lines long and directly includes four C header files.
|
||||||
This is not a joke.
|
This is not a joke.
|
||||||
Their <CODE>true.c</CODE> is 2.3 kilobytes, parses the arguments <CODE>--help</CODE> and <CODE>--version</CODE> (only if either are the first argument to the program), and I don't know how big the executable ends up being because the first thing I do when I take control of a GNU system is <CODE>printf "#/bin/sh\nexit 0\n"|dd of="$(which true)";chmod +x "$(which true)"</CODE> (<B>use at your own risk</B>).
|
Their <CODE>true.c</CODE> is 2.3 kilobytes, parses the arguments <CODE>--help</CODE> and <CODE>--version</CODE> (only if either are the first argument to the program), and I don't know how big the executable ends up being because the first thing I do when I take control of a GNU system is <CODE>dd if=/dev/null of="$(which true)";chmod +x "$(which true)"</CODE> (<B>use at your own risk</B>).
|
||||||
The GNU coreutils implementation of <CODE>true(1)</CODE> is not POSIX compliant.
|
The GNU coreutils implementation of <CODE>true(1)</CODE> is not POSIX compliant.
|
||||||
</P>
|
</P>
|
||||||
<H2>Cited media and further reading</H2><UL>
|
<H2>Cited media and further reading</H2><UL>
|
||||||
|
Loading…
Reference in New Issue
Block a user