[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-mailutils] mailx: implicit "next" command

From: Paul Vojta
Subject: [bug-mailutils] mailx: implicit "next" command
Date: Wed, 4 Mar 2009 14:59:04 -0800
User-agent: Mutt/


In the mail program in mailutils, I believe that the POSIX spec has
been misinterpreted.

It states the following, regarding commands being implicitly assumed
to be "next" commands:

22865   "Regular commands are of the form:

22866   [command] [msglist] [argument ...]

22867   If no command is specified in command mode, next shall be assumed."

The word "command" is italicized in line 22866 and 22867, but not 22865.
Also, "command" is in brackets in line 22866.  Because of this, I believe
that one should be able to type a "msglist" on the command line, with
no command name, and it should be treated as a "next" command.  This is
how "mailx" on Solaris 9 operates.

However, the mail utility in mailutils only changes a blank line to
a "next" command.  Can the mail utility be changed so that a bare
msglist (without a command name) is treated as a next command?

I enclose a sample patch.  I'm willing to provide a sample patch for the
documentation, too.

--Paul Vojta

Attachment: diffs
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]