[H-GEN] What the...? Weird behaviour from bash
Jason Parker
ph330812 at student.uq.edu.au
Fri Feb 6 10:11:58 EST 1998
On Sat, 7 Feb 1998, Anthony Towns wrote:
> Hello world,
>
> Can someone explain this?
> ] [aj at azure ~]$ /bin/sh
> ] [aj at azure ~]$ echo hello | cat >& /dev/null
> ] hello
> ] [aj at azure ~]$ /bin/bash
> ] [aj at azure ~]$ echo hello | cat >& /dev/null
> ] [aj at azure ~]$ exit
IIRC, it's up to the shell to decide job execution order. So, at a
guess, I'd reckon that bash has some `optimal' method of execution.
Or maybe you're just getting different results after just one (or a
small number of) test(s)? [You did do it more than once, right? :)]
ObDisclaimer: I'm drawing a long bow here---I don't have Stevens
here to refer to, but I do recall a larg(ish) section in same
pointing out such subtle differences in job execution. But, no-one
else has responded yet, so...
Jason
ph330812 at student.uq.edu.au
-----
ph330812 at student.uq.edu.au | NetHack addict^H^H^H^H^H^H player.
Ascended: Priest(2), Valkyrie(1), and Caveman(1) Next: Rogue.
/Real/ games run under *Unix*. cf: NetHack, Doom, Quake, etc.
Visit the One Meg Plan, at: `finger nooks at azure.humbug.org.au'
----------------------- HUMBUG General List --------------------------------
echo "unsubscribe general" | mail majordomo at humbug.org.au # To Unsubscribe
More information about the General
mailing list