Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!ames!ucbcad!ucbvax!decvax!ima!haddock!karl From: karl@haddock.UUCP (Karl Heuer) Newsgroups: comp.unix.questions Subject: Re: echo (was $@ vs. $*) Message-ID: <300@haddock.UUCP> Date: Sun, 11-Jan-87 20:42:20 EST Article-I.D.: haddock.300 Posted: Sun Jan 11 20:42:20 1987 Date-Received: Mon, 12-Jan-87 02:21:57 EST References: <181@haddock.UUCP> <106@quacky.UUCP> <164@its63b.ed.ac.uk> Reply-To: karl@haddock.ISC.COM.UUCP (Karl Heuer) Distribution: world Organization: Interactive Systems, Boston Lines: 20 if it appears in the context of an input file. Since echo doesn't read file names, "-" could be used safely, but it's easier to remember if it's consistent with the rest of the world. (In SysV, at least, an awful lot of programs have been converted to use getopt, and I suspect it or something a lot like it is the wave of the future.) Btw, "echo rest of line raw" is slightly ambiguous. My meaning was "stop parsing options, even if the next argument begins with a dash"; this should be orthogonal to other "cooking" like backslash interpretation, space separation, newline termination, etc. Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint