Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucsd!ogccse!blake!milton!uw-beaver!fluke!ssc-vax!bcsaic!paula From: paula@bcsaic.UUCP (Paul Allen) Newsgroups: comp.os.minix Subject: Re: Bugs in minix shell Keywords: sh bug Message-ID: <16833@bcsaic.UUCP> Date: 8 Nov 89 23:49:00 GMT References: <4457@condict.cs.vu.nl> Reply-To: paula@bcsaic.UUCP (Paul Allen) Organization: Boeing Computer Services AI Center, Seattle Lines: 40 In article <4457@condict.cs.vu.nl> condict@cs.vu.nl (Michael Condict) writes: >[Sorry if you've seen this before. I posted it two weeks ago and got no > response, so I'm assuming that recent changes in our news connection pre- > vented it from getting out to the world.] > >In 5 or 10 minutes of trying out a friend's Minix system (version 1.3), I >discovered several bugs in the shell (sh). Have these been encountered before, >and does anyone have fixes? > >(1) "$@" is expanded to the single word "$1 $2 . . . $n", when it should be > expanded to n quoted words: "$1" "$2" . . . "$n". > >(2) x=`date` produces the error message "Oct: not found" >[...] > >(3) "set - a b" doesn't work [...] Your original posting showed up here. Perhaps nobody is ready to get fired up about obscure sh bugs? :-) Since we're talking about the shell, how 'bout this one in 1.3d? If I type some sort of a loop into the shell, I get a login: prompt when the loop terminates! For example: #for n in *.c >do >mv $n o.$n >done login: What's interesting is that the F1 display still shows my login shell running! I'm not fired up enough to investigate this. Is anybody looking at porting the Bourne Again Shell to Minix? Paul Allen -- ------------------------------------------------------------------------ Paul L. Allen | pallen@atc.boeing.com Boeing Advanced Technology Center | ...!uw-beaver!bcsaic!pallen