"$@ in shell"
Andy Crump
andyc at tekecs.UUCP
Sat Aug 20 03:37:37 AEST 1983
This is NOT a bug. If you read the last line in the "Blank Interpretation"
section of the sh(1) manual page you will realize this is an intended
and documented feature and is NECESSARY for some shell scripts to work.
I strongly oppose any changes to bourne sh like this, especially when
it is documented.
Quote from sh(2):
"... Implicit null arguments (those resulting from parameters
that have no values) are removed."
Andy Crump
Tektronix Inc.
Engineering Computing Systems
Mail Stop 61-215
Wilsonville, Oregon, 97070
UUCP: ...!XXX!teklabs!tekecs!andyc (ignore return address)
(where XXX is one of:aat, cbosg, chico, decvax, harpo, ihnss
lbl-unix, ogcvax, pur-ee, reed, ssc-vax, ucbvax, zehntel)
CSNET: tekecs!andyc @ tektronix
ARPA: tekecs!andyc.tektronix @ rand-relay
More information about the Comp.unix.wizards
mailing list