correction to list of option names

View: New views
2 Messages — Rating Filter:   Alert me  

correction to list of option names

by Iain Calder-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I found some errors in the table of long options in the
GNU coding standard at:

  http://www.gnu.org/prep/standards/standards.html

Old text:
   `file'
          `-f' in info, gawk, Make, mt, and tar; `-n' in sed; `-r' in touch.
New text:
   `file'
          `-f' in info, gawk, sed, make, mt, and tar.
   `reference'
          `-r' file to use as timestamp source in touch.

Explanation:
* The option to specify a script file in sed(1) is -f,
  same as for gawk, make, etc.  sed's -n option does
  something else.
* Also, make(1) is misspelled.  It should be lower case.
* Finally, the long option name for touch(1)'s -r option
  is --reference.  touch doesn't have a --file option,
  The cause of the confusion is probably that the argument
  to -r is a file.

-ic
--
Iain Calder  <ic56@...>  Toronto, Canada



Re: correction to list of option names

by Karl Berry :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

    I found some errors in the table of long options in the
    GNU coding standard at:

Thanks Iain.  I'll update those.

I know there are zillions of missing entries in that table.  I've
thought of trying to semi-automate it from the --help output of the
various GNU programs (at least the basic ones), but have never made the
time to actually try to implement it.  If you (or anyone) are interested
in taking a whack at that, that would be great.

Anyway, thanks again for the corrections.

karl