[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Function/alias recursion
From: |
Tim Waugh |
Subject: |
Function/alias recursion |
Date: |
Tue, 16 Jan 2007 12:45:53 +0000 |
What is the intended behaviour for this sort of thing?:
$ cat <<"EOF" >trouble
hello ()
{
pwd
}
alias pwd="hello"
EOF
$ source trouble
$ source trouble
$ pwd
The behaviour I've observed with bash-3.2 and several earlier releases
is that bash consumes all available memory and then crashes.
Tim.
*/
signature.asc
Description: This is a digitally signed message part
- Function/alias recursion,
Tim Waugh <=