🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.sys5
Article #337

Re: Weird shell bug could be useful

#337
From: Tom Christiansen
Date: Wed, 30 Jan 1991 18:31
29 lines
1268 bytes
From the keyboard of root@tndsyd.oz (the main man):
:Try this out:
:	$ echo > foo '
:	> garbage
:	> ...
:	> ...
:	> ...
:	> ...
:	> '
:	$
:
:Then cat foo. This is a wierd bug but could be used instead of:
:	cat << ! > foo
:	garbage
:	...
:	...
:	...
:	...
:	!

That's not a bug -- it's a feature.  That the csh doesn't do 
the right thing here is its problem; real shells are defined to 
behave in just this way.  If it ever stops working, complain.

--tom
--
"Hey, did you hear Stallman has replaced /vmunix with /vmunix.el?  Now
 he can finally have the whole O/S built-in to his editor like he
 always wanted!" --me (Tom Christiansen <tchrist@convex.com>)
Technical Details
Message-ID: <1991Jan30.183128.2762@convex.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!convex!usenet
References: <618@tndsyd.oz>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!convex!usenet
From: tchrist@convex.COM (Tom Christiansen)
Newsgroups: comp.bugs.sys5,comp.unix.shell
Subject: Re: Weird shell bug could be useful
Message-ID: <1991Jan30.183128.2762@convex.com>
Date: 30 Jan 91 18:31:28 GMT
References: <618@tndsyd.oz>
Sender: usenet@convex.com (news access account)
Reply-To: tchrist@convex.COM (Tom Christiansen)
Organization: CONVEX Software Development, Richardson, TX
Lines: 29
Nntp-Posting-Host: pixel.convex.com