Subject: Re: bash
To: Tomasz Luchowski <zuntum@netbsd.org>
From: Frederick Bruckman <fb@enteract.com>
List: netbsd-users
Date: 03/25/2001 11:49:38
On Sun, 25 Mar 2001, Tomasz Luchowski wrote:

> bash-2.04$ sleep 5; echo dupa
> ^C
> dupa
> bash-2.04$
>
> only bash misbehaves! I did 'sleep 7200; reboot' on one machine
> to test something that can break networking. I ctrl-c'd the sentence
> on account with bash and it rebooted!
>
> beware the evil bash!

I didn't realize it was only "bash". I have noticed that it sometimes
goes on to the next command in the pipeline even when they're joined
with "&&" (though not today! $BASH_VERSION of 2.04.0(1)-release). The
work-around is to do it like this: "(sleep 7200 && echo dup)".


Frederick