nmh-workers
[Top] [All Lists]

[Nmh-workers] full switch names

2014-03-01 12:06:07
Norm wrote:

By the way, is there some admonition anywhere advising mh
script writers to always use the full name of switches,
lest later versions of nmh create an ambiguity? Maybe it's
in Peek somewhere?

How about this addition to the nmh(7) man page?  It
currently doesn't have an introduction to switches.

  nmh command arguments are usually called switches.  Some
  switches have a corresponding “-no” switch, which negates all
  previous occurrences of that switch on the command line.  This
  allows a user to conveniently override, on the command line, a
  switch in their profile.  Switches may be abbreviated as long
  as there is no ambiguity with another switch of the same
  command.  To avoid ambiguity with any switches that may be
  added in the future, it is recommended that full switch names
  be used in permanent code such as shell scripts, functions,
  and aliases.

David

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>