Article View: mod.std.unix
Article #115command line arguments
From: John Quarterman
Date: Wed, 03 Jul 1985 16:10
Date: Wed, 03 Jul 1985 16:10
32 lines
1960 bytes
1960 bytes
some commands take arguments as
command -abcdefg filename
and some as
command -a -b -c -d -e -f -g filename
It would be great if this was standardised.
Post this if you like: it's gleaned from a book 'Unix for beginners' by
Miller and Boyle at the University of Leeds, UK
--
'He had a certain naive charm, but no muscle!'
Frank N. Furter in the Rocky Horror Picture Show.
+-------------------------+------------------------------------------+
| Douglas Spencer | {decvax,garfield,okstate,philabs,seismo} |
| Maths Institute | !mcvax!ukc!warwick!daisy!maugg |
| University of Warwick |------------------------------------------|
| Coventry CV4 7AL | If necessary I can also be contacted |
| England | easily by any competent telepath :-) |
+-------------------------+------------------------------------------+
[ The P1003 draft standard has little to say about commands, as it's
mostly concerned with system calls and library routines. Varying option
formats are a nuisance, though. -mod]
--
John Quarterman, jsq@ut-sally.ARPA, {ihnp4,seismo,ctvax}!ut-sally!jsq
--
Ron Heiby netnews@cuae2.UUCP (via ihnp4)
AT&T-IS, /app/eng, Lisle, IL (312) 810-6109
Technical Details
Message-ID:
<351@cuae2.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!decvax!harpo!whuxlm!whuxl!houxm!ihnp4!mgnetp!hw3b!wnuxb!cuae2!jsq@ut-sally.UUCP (John Quarterman)Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site cuae2.UUCP Path: arc1-ca.pugleaf.net!utzoo!decvax!harpo!whuxlm!whuxl!houxm!ihnp4!mgnetp!hw3b!wnuxb!cuae2!jsq@ut-sally.UUCP (John Quarterman) From: jsq@ut-sally.UUCP (John Quarterman) Newsgroups: mod.std.unix Subject: command line arguments Message-ID: <351@cuae2.UUCP> Date: Wed, 3-Jul-85 12:10:12 EDT Article-I.D.: cuae2.351 Posted: Wed Jul 3 12:10:12 1985 Date-Received: Thu, 4-Jul-85 01:14:48 EDT Sender: netnews@cuae2.UUCP Organization: AT&T-IS, /app/eng, Lisle, IL Lines: 29 Approved: jsq@ut-sally.UUCP Posted-Date: Thu, 27 Jun 85 18:08:26 bst In-Reply-To: <2189@ut-sally.UUCP>