Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!watmath!watnot!ccplumb
From: ccplumb@watnot.UUCP
Newsgroups: comp.unix.questions
Subject: Re: echo (was $@ vs. $*)
Message-ID: <12318@watnot.UUCP>
Date: Thu, 8-Jan-87 17:46:05 EST
Article-I.D.: watnot.12318
Posted: Thu Jan  8 17:46:05 1987
Date-Received: Fri, 9-Jan-87 06:19:51 EST
References: <181@haddock.UUCP> <106@quacky.UUCP> <164@its63b.ed.ac.uk> <198@haddock.UUCP> <585@mcgill-vision.UUCP> <287@haddock.UUCP>
Reply-To: ccplumb@watnot.UUCP (Colin Plumb)
Distribution: world
Organization: U. of Waterloo, Ontario
Lines: 20

In article <287@haddock.UUCP> karl@haddock.ISC.COM.UUCP (Karl Heuer) writes:
-   One thing they might have overlooked (I don't have a man page or a
- V8 system available; this is from memory) is a way to forcibly terminate
- option scanning.  (With the USG function getopt(), this is automatically
- provided via "--".  This notation is probably as good as any.)  If this
- option is/were included, then one can/could be sure of echoing something
- exactly by using `echo -- "$1"'.  This would also allow for future
- additions, e.g. an option to echo multiple arguments on separate lines,
- without breaking existing scripts (provided they use "--").

  My two cents' worth...  an "echo rest of line raw" flag is definitely
the way to go... although I'd use the null flag ("-") for the purpose.

  Echo implementors, take note!

	-Colin Plumb (ccplumb@watnot.UUCP)

Zippy says:
Four thousand different MAGNATES, MOGULS & NABOBS are romping in my
gothic solarium!!