Re: Dr. Evil typed sleep 666; rm -rf /

2008-02-11 Thread Mike Frysinger
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 > >

Re: Dr. Evil typed sleep 666; rm -rf /

2008-02-11 Thread jidanni
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 sh

Re: why does cd change DIRSTACK?

2008-02-11 Thread Chet Ramey
> I don't understand why cd changes DIRSTACK. From the manpage I got the > impression that only pushd and popd change DIRSTACK (besides dir -c). The current directory is always the first entry in the directory stack (index 0). As such, cd will always change it. Chet -- ``The lyf so short, the

Bash 3.2.25 not expanding subscript...

2008-02-11 Thread Brad Diggs
Hello, I observed today that a bash feature that used to work in version 3.00.16(1) no longer works in version 3.2.25(1). I have observed the bug on OpenSolaris snv_81 and Ubuntu 7.10 both of which run the same version 3.2.25(1). In short the bug is the result of failure to expand the subscript

Subject: The set -o built-ins clobber the local argument variable $@

2008-02-11 Thread jamest
From: jamest To: bug-bash@gnu.org,[EMAIL PROTECTED] Subject: The set -o built-ins clobber the local argument variable [EMAIL PROTECTED] Configuration Information [Automatically generated, do not change]: Machine: i486 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTT

Re: Subject: The set -o built-ins clobber the local argument variable $@

2008-02-11 Thread Andreas Schwab
[EMAIL PROTECTED] writes: > set -o ignoreeof on That's the same as $ set -o ignoreeof $ set on As such it works as documented. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B