[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Old bugs in the man true & man false
From: |
Eric Blake |
Subject: |
Re: Old bugs in the man true & man false |
Date: |
Fri, 20 Feb 2009 15:53:38 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19 Mnenhy/0.7.6.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to address@hidden on 2/20/2009 12:00 PM:
> However both true and false ignore any options provided. They do not
> support these options.
>
> Solution: delete their mention from the man pages.
Not a bug, but a misunderstanding on your part. GNU coreutils' true and
false DO support options; in fact, the man page is generated from the
- --help option.
Did you read the rest of the man page?
NOTE: your shell may have its own version of true, which usually
supersedes the version described here. Please refer to your
shell's documentation for details about the options it supports.
And indeed, when compared to the bash builtin:
$ true --help
$ /bin/true --help
Usage: /bin/true [ignored command line arguments]
or: /bin/true OPTION
...
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkmfNHIACgkQ84KuGfSFAYApJgCffUUDrJajsJZ2yFlFj9OVzRjY
DOoAnA9gNnFCW4wSstlWtji5QSSA5DhF
=gKVK
-----END PGP SIGNATURE-----