bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bash 2.03.6: suspending serial commands


From: Noah Friedman
Subject: bash 2.03.6: suspending serial commands
Date: Thu, 02 Nov 2000 19:33:27 -0800 (PST)

I typed:

    $ rm -rf foo.old && mv foo.old

then decided I wanted to background that set of commands.
When I hit C-Z, the rm was suspended, but the mv happened immediately.
I didn't notice that (since it was silent), then typed "bg" to background
the command.  

So of course, both directories got deleted.

Now if I'd typed

    $ rm -rf foo.old && mv foo.old &

then the correct thing would have happened.  So if you tell me that both
behaviors are mandated by posix, I will have to seek out and destroy every
last member of the posix.1 committee.  So I hope it's just a bug in bash.
:-)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]