On Monday 11 February 2008, [EMAIL PROTECTED] wrote: > Your attention is drawn to the current thread, a small sample of which is: > > Newsgroups: comp.unix.shell > Subject: Re: Dr. Evil typed sleep 666; rm -rf / > Date: 11 Feb 2008 > > >bash is the only shell that will run "rm" if you interrupt > >"sleep" with C-c. > > > >>All the other shells including the Bourne shell, ksh88, ksh93, > >>pdksh, zsh, csh, tcsh, rc, es and their derivatives will not > >>unless Dr. Evil has installed a trap on SIGINT. > >> > >>With bash, you'll have to kill bash from another shell. > > > > Bug or feature?
correct behavior. if you want the other behavior, you should have used: sleep 666 && rm -rf / -mike
signature.asc
Description: This is a digitally signed message part.