Nasty bug in release 4 Bourne shell
Wm E. Davidsen Jr
davidsen at sixhub.UUCP
Mon Dec 31 15:07:12 AEST 1990
In article <andy.662338820 at xwkg> andy at 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 at 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
More information about the Comp.bugs.sys5
mailing list