emacs-devel
[Top][All Lists]
Advanced

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

Unstandard?


From: Robert J. Chassell
Subject: Unstandard?
Date: Sat, 24 Mar 2007 14:36:12 -0400 (EDT)

Does the following fail the GNU standards?

    # /usr/local/src/emacs/lib-src/movemail --help
    /usr/local/src/emacs/lib-src/movemail: invalid option -- -

According to

    Standards for Command Line Interfaces
    (standards.info)Command-Line Interfaces

    All programs should support two standard options: `--version' and
    `--help'.

A different movemail, not distributed with Emacs, shows this

    # /usr/bin/movemail --help
    Usage: movemail [-rvxkh] [-l lines ] [-m method ] [-i] 
               inbox [-o] destfile [[-p] POP-password]
    where method is one of: dot, lockf, flock
    Default is: dot

although it fails with  --version

    # /usr/bin/movemail --version
    /usr/bin/movemail: unrecognized option `--version'


>From this morning's (2007 Mar 24) update of both Debian testing and
CVS Emacs:

    # ls -al /usr/bin/movemail 
       26 2007-03-01 13:01 /usr/bin/movemail -> /etc/alternatives/movemail

    # ls -al /etc/alternatives/movemail
    55228 2007-03-22 06:04 /etc/alternatives/movemail

    # ls -al /usr/local/src/emacs/lib-src/movemail
    45949 2007-03-18 12:08 /usr/local/src/emacs/lib-src/movemail

-- 
    Robert J. Chassell                          GnuPG Key ID: 004B4AC8
    address@hidden                         address@hidden
    http://www.rattlesnake.com                  http://www.teak.cc




reply via email to

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