DennisW wrote:
> On Nov 27, 3:47 pm, Freddy Vulto wrote:
>> I noticed different behaviour between bash-3 and bash-4 when
>> performing parameter expansion on an array with IFS set to a non-space
>> value. For example, on bash-3.2.39, I get:
>>
>> $ bash -c 'IFS=:; printf "<%s>\n" "${@/q}"' x
Chet Ramey wrote:
Douglas Moyes wrote:
I nearly brought down a server today.
# alias d="perl-script "
# d() {
# perl-script $1 |grep something|cut -d ' ' -f 3
# }
# d something
. . CRASH
turns out bash went into a loop calling d over and over again, which
resulted in thou
On Sun, 29 Nov 2009, jida...@jidanni.org wrote:
PG> maybe try the following macro:
PG> bind '"\M- ":"\M-\\ "'
Sorry, that doesn't work on the command line or .inputrc.
No effect.
ah, it works for me.
On Nov 27, 3:47 pm, Freddy Vulto wrote:
> I noticed different behaviour between bash-3 and bash-4 when
> performing parameter expansion on an array with IFS set to a non-space
> value. For example, on bash-3.2.39, I get:
>
> $ bash -c 'IFS=:; printf "<%s>\n" "${@/q}"' x a b
>
>
> Whereas