Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbatt!ihnp4!ihlpl!bde From: bde@ihlpl.UUCP Newsgroups: comp.unix.questions Subject: Re: $@ vs. $* (was - Re: nohup (from Bourne shell)) Message-ID: <1560@ihlpl.UUCP> Date: Wed, 10-Dec-86 15:58:40 EST Article-I.D.: ihlpl.1560 Posted: Wed Dec 10 15:58:40 1986 Date-Received: Sun, 14-Dec-86 07:37:51 EST Distribution: na Organization: AT&T Bell Labs, Naperville, IL Lines: 25 In article <164@its63b.ed.ac.uk>, simon@its63b.ed.ac.uk (Simon Brown) says: > : > > So, until the fix described above (or some equivalent thereof) is official, > its probably better just to be very careful when using $* or $@ in scripts. > One foolproof way is to always use ${1+"$@"} in place of $* or $@ or "$@" > - ok, its ugly, I know... :-) > Oh my goodness! It's all a plot! Even in UN*X, we have AT&T encouraging "1 plus" dialing of operators! -- disclaimer: my company doesn't know I exist, let alone that I posted this. "opinions generated by beating the keyboard with a baseball bat" -- Bryan Ewbank, ...!ihnp4!ihlpl!bde ih 6M-523 / AT&T Bell Labs / Naperville, IL 60566 / USA -- -- "opinions generated by beating the keyboard with a baseball bat" -- Bryan Ewbank, 312/979-4296, ...!ihnp4!ihlpl!bde, ih 6M-523 / AT&T Bell Labs / Naperville, IL 60566 / USA