[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Odd behaviour on Bash 2.04 and 2.05
From: |
Paul Jarc |
Subject: |
Re: Odd behaviour on Bash 2.04 and 2.05 |
Date: |
Fri, 24 Aug 2001 16:45:10 -0400 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 |
yap_noel@jpmorgan.com wrote:
>> :(){ :|:&};:
>
> Whenever you do this, you define a function ':' (that recursively calls
> itself twice in the background) then you call that function. Can the gurus
> confirm this?
Correct. Because of the pipe, bash also forks for each recursive
call.
paul