echo (was $@ vs. $*)
Karl Heuer
karl at haddock.UUCP
Mon Jan 12 11:42:20 AEST 1987
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 at haddock.isc.com), The Walking Lint
More information about the Comp.unix.questions
mailing list