Re: byacc

[prev] [thread] [next] [lurker] [Date index for 2005/09/14]

From: Nicholas Clark
Subject: Re: byacc
Date: 11:45 on 14 Sep 2005
On Tue, Sep 13, 2005 at 09:52:56PM -0400, Steven Smolinski wrote:
> On 13-Sep-05, at 2:03 PM, Rafael Garcia-Suarez wrote:
> 
> >But you know what ? In 1.9 they've removed the -V option. Worse,
> >nothing else works: -v, -h, --version, --help,
> >--just-give-me-your-version-you-bloody-piece-of-junk, etc.
> 
> It's probably just a trough in the karmic pool to balance this peak:
> 
> $ /bin/true --version
> true (GNU coreutils) 5.2.1
> Written by Jim Meyering.
> 
> Copyright (C) 2004 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There  
> is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR  
> PURPOSE.
> $

As previously featured on hates-software. The man page for GNU false says:

DESCRIPTION
       Exit with a status code indicating failure.

       These option names may not be abbreviated.

       --help display this help and exit

       --version
              output version information and exit



So, let's test that:

$ /bin/false --help
Usage: /bin/false [ignored command line arguments]
  or:  /bin/false OPTION
Exit with a status code indicating failure.

These option names may not be abbreviated.

      --help     display this help and exit
      --version  output version information and exit

Report bugs to <bug-coreutils@xxx.xxx>.
$ echo $?
0
$ /bin/false --help >/dev/null && echo True!
True!
$

Yeah. Right.

Nicholas Clark
There's stuff above here

Generated at 22:00 on 20 Sep 2005 by mariachi 0.52