nmh-workers
[Top] [All Lists]

Re: ali behaves the same whether or not -list specified

1998-02-27 00:58:35
Howdy.  The 'ali' man page says:

      Ali searches the named mail alias files for each of the given aliases.
      It creates a list of addresses for those aliases, and writes that list
      on standard output.  If the `-list' option is specified, each address
      appears on a separate line; otherwise, the addresses are separated by
      commas and printed on as few lines as possible.  With no arguments,
      ali outputs all alias entries.

I do not find this to be true.  When I specify multiple aliases, they always
come out on separate lines, even if I explicitly say '-nolist'.  I would
like it to work like it says on the man page.

The switches -[no]list specify the format when a single alias expands
to multiple address.  Not the format when multiple aliases are given.

cypress% ali -list foobar
moe
larry
curly

cypress% ali -nolist foobar
moe, larry, curly

--
Richard Coleman
coleman(_at_)math(_dot_)gatech(_dot_)edu


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