-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Marc Herbert on 11/30/2009 3:18 AM:
> A long time ago I read somewhere that aliases are not recommended. I
> think they do not bring anything on the table compared to functions, do
> they?
There is one thing that aliases can do that funct
Douglas Moyes a écrit :
> I nearly brought down a server today.
>
> # alias d="perl-script "
>
A long time ago I read somewhere that aliases are not recommended. I
think they do not bring anything on the table compared to functions, do
they?
Anyway I have always done without them, but witho
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
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 th
On Thu, Nov 26, 2009 at 2:35 AM, 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 ove
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 thousands of grep, bash, and -d processes being
On Wed, 2008-07-30 at 18:53 +0200, Michael Haubenwallner wrote:
> Hi,
>
> have some strange race condition here on aix5.3 with bash-3.2.39, when
> using CONFIG_SHELL=/path/to/bash, building in parallel (-j16) with
> libtool. It works when using /bin/ksh.
Now it has happened with /bin/ksh too, so
On Wed, 2008-07-30 at 18:53 +0200, Michael Haubenwallner wrote:
> Now I can see (stripped the unimportant):
> open("GetWMCMapW.loT", O_WRONLY|O_CREAT|O_APPEND|O_LARGEFILE) = 4
> kfcntl(4, 14, 0x0001) = 1
> close(4)= 0
> open("/tmp//sh-thd-
Hi,
have some strange race condition here on aix5.3 with bash-3.2.39, when
using CONFIG_SHELL=/path/to/bash, building in parallel (-j16) with
libtool. It works when using /bin/ksh.
Sporadically there are two lines missing in the libtool-generated
'file.lo', while other files in the same build dir