Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!mcvax!hp4nl!rivm!ccea3 From: ccea3@rivm.UUCP (Adri Verhoef) Newsgroups: comp.bugs.sys5 Subject: Re: bug in /bin/sh Keywords: functions, quotes Message-ID: <1348@rivm05.UUCP> Date: 25 May 89 20:11:43 GMT References: <883@cetia4.UUCP> Reply-To: ccea3@rivm05.UUCP (Adri Verhoef) Organization: RIVM, Bilthoven, The Netherlands Lines: 22 > $ print() echo $1 > $ print a b > a > $ print "a b" c > a b > $ mail() /usr/bin/mailx $* > $ mail -s "a b c d e f" chris > ~h > To: b c d e f chris > Subject: a No, it's not a bug. Now let's try this again. $ mail() /usr/bin/mailx "$@" Now look: $ mail -s "a b c d e f" chris ~h To: chris Subject: a b c d e f Cc: Bcc: