Article View: gnu.misc.discuss
Article #73169Re: Poll: syntax of long options
From: Per Abrahamsen
Date: Tue, 29 Oct 1991 17:33
Date: Tue, 29 Oct 1991 17:33
19 lines
1289 bytes
1289 bytes
>>>>> On 29 Oct 91 14:22:56 GMT, l-rittle@uiuc.edu (Loren J. Rittle) said: Loren> Valid file names can start with a '-' also. What's your point? If you write a shell script for a POSIX system, you can expect ls -l +something to write the long listing for the file called `+something'. However, on a GNU system the command would print a usage message. Thus, GNU ls is not POSIX compliant. On a GNU system you would have to write something like ls -l -- +something to get the same effect.
Technical Details
Message-ID:
<ABRAHAM.91Oct29173322@freja.iesd.auc.dk>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!news.funet.fi!sunic!dkuug!iesd!iesd.auc.dk!abrahamReferences:
<CARLTON.91Oct24105806@husc8.harvard.edu> <1991Oct28.201626.25254@uunet.uu.net> <ABRAHAM.91Oct29115204@freja.iesd.auc.dk> <1991Oct29.142256.5232@ux1.cso.uiuc.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1025b4,5071a1d1ccc07109 X-Google-Attributes: gid1025b4,public X-Google-ArrivalTime: 1991-10-29 12:39:51 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!news.funet.fi!sunic!dkuug!iesd!iesd.auc.dk!abraham From: abraham@iesd.auc.dk (Per Abrahamsen) Newsgroups: gnu.misc.discuss Subject: Re: Poll: syntax of long options Message-ID: <ABRAHAM.91Oct29173322@freja.iesd.auc.dk> Date: 29 Oct 91 17:33:22 GMT References: <CARLTON.91Oct24105806@husc8.harvard.edu> <1991Oct28.201626.25254@uunet.uu.net> <ABRAHAM.91Oct29115204@freja.iesd.auc.dk> <1991Oct29.142256.5232@ux1.cso.uiuc.edu> Sender: news@iesd.auc.dk Organization: HUGIN Expert A/S Lines: 19 In-Reply-To: l-rittle@uiuc.edu's message of 29 Oct 91 14:22:56 GMT