Article View: comp.bugs.sys5
Article #262Re: Nasty bug in release 4 Bourne shell
From: Wm E. Davidsen Jr
Date: Mon, 31 Dec 1990 04:07
Date: Mon, 31 Dec 1990 04:07
22 lines
1386 bytes
1386 bytes
In article <andy.662338820@xwkg> andy@xwkg.Icom.Com (Andrew H. Marrinson) writes:
| If you run this with the input
|
| file1
| file2
|
| You get a single file, file1, containing the two lines
Actually, if you forget to put "exec >/dev/tty" after the loop you
will get a lot more than two lines...
| I got this result using Dell Unix. I suspect that it is an AT&T bug,
| though. I can't imagine Dell fooled with Bourne shell at all. Let me
| know if there is a release 4 System V out there that doesn't do this!
Use your ksh! Seems to work there.
--
bill davidsen - davidsen@sixhub.uucp (uunet!crdgw1!sixhub!davidsen)
sysop *IX BBS and Public Access UNIX
moderator of comp.binaries.ibm.pc and 80386 mailing list
"Stupidity, like virtue, is its own reward" -me
Technical Details
Message-ID:
<2771@sixhub.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!clyde.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!zaphod.mps.ohio-state.edu!rpi!crdgw1!sixhub!davidsenReferences:
<andy.662338820@xwkg>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!clyde.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!zaphod.mps.ohio-state.edu!rpi!crdgw1!sixhub!davidsen From: davidsen@sixhub.UUCP (Wm E. Davidsen Jr) Newsgroups: comp.bugs.sys5 Subject: Re: Nasty bug in release 4 Bourne shell Keywords: Bourne shell, exec, redirection Message-ID: <2771@sixhub.UUCP> Date: 31 Dec 90 04:07:12 GMT References: <andy.662338820@xwkg> Reply-To: davidsen@sixhub.UUCP (bill davidsen) Organization: *IX Public Access UNIX, Schenectady NY Lines: 22