bug in /bin/sh

Adri Verhoef ccea3 at rivm.UUCP
Fri May 26 06:11:43 AEST 1989


>			$ 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:



More information about the Comp.bugs.sys5 mailing list