[Info-vax] DIR/DATE_FORMAT=DELTA ?

hb becker.avd at gmail.com
Wed Jan 11 09:44:09 EST 2012


On Jan 11, 3:05 pm, koeh... at eisner.nospam.encompasserve.org (Bob
Koehler) wrote:
>    gnu utilities have been using --english for a long time.  But as
>    we all know gnu's not UNIX.  And unlike DCL, gnu utilities don't
>    allow abbreviation of the --forms.

Simply not true. The long options are a feature of getopt() or
getopt_long() and the latter allows abbreviation, as you can see with:

# touch whatever
# ls --full-time whatever
-rw-r--r-- 1 root root 0 2012-01-11 15:39:14.200389937 +0100 whatever
# ls --full whatever
-rw-r--r-- 1 root root 0 2012-01-11 15:39:14.200389937 +0100 whatever
# ls --ful whatever
-rw-r--r-- 1 root root 0 2012-01-11 15:39:14.200389937 +0100 whatever
# ls --fu whatever
-rw-r--r-- 1 root root 0 2012-01-11 15:39:14.200389937 +0100 whatever
# ls --f whatever
ls: option '--f' is ambiguous
Try `ls --help' for more information.
#



More information about the Info-vax mailing list