Re: Does "LC_ALL=C" work on all shells?
Will Mengarini (12024-02-13):
> * Greg Wooledge <greg@wooledge.org> [24-02/13=Tu 15:59 -0500]:
> > In csh, you need to use env. Like this:
^^^^
> What Greg posted also works, because it's an
> invocation of the 'env' command, not csh syntax.
Yes. What made Greg's statement false was not the fact that it does not
work but the verb “need”.
> What you posted also works, but it runs the command in a subshell of
> csh, so I doubt it gains efficiency over running the command under env.
env is also executed in a subshell, but unlike what I posted, env will
also require an exec() and probably some dynamic linking.
--
Nicolas George
Reply to: