Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: LC_ALL=C foo, where foo is a shell function
- X-seq: zsh-users 9081
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: LC_ALL=C foo, where foo is a shell function
- Date: Sat, 09 Jul 2005 20:44:33 +0000
- In-reply-to: <20050709191401.GP6472@xxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20050709191401.GP6472@xxxxxxxxxxxxx>
On Jul 9, 9:14pm, Vincent Lefevre wrote:
}
} If I type
}
} foo() { some_command }
} LC_ALL=C foo
}
} then this sets LC_ALL to C in the current shell, probably because foo
} is evaluated in the current shell.
Doesn't happen to me:
schaefer<501> foo() { echo $LC_ALL }
schaefer<502> LC_ALL=C foo
C
schaefer<503> echo $LC_ALL
schaefer<504> foo() { /bin/echo $LC_ALL }
schaefer<505> LC_ALL=C foo
C
schaefer<506> echo $LC_ALL
schaefer<507>
What version of zsh are you testing?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author