🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.sys5
Article #1137

Re: bug in /bin/sh

#1137
From: Adri Verhoef
Date: Thu, 25 May 1989 20:11
22 lines
804 bytes
>			$ 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:
Technical Details
Message-ID: <1348@rivm05.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!mcvax!hp4nl!rivm!ccea3
References: <883@cetia4.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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