cc:  [email protected]  [email protected]          
[email protected]  [email protected]          
[email protected]
Subject: Re: Re: Re: Re: Re: [ast-developers] Re: [ast-users] Write up on how 
to   localize shell scripts - Second Try
--------

> Erm... can you make an example for this case, please ?

A script can do

commands1 ...
LC_ALL
commands2 ...

and  command2 will use the new locale.

However, since a function is a compound command, the locale will be
frozen the first time that the function is invoked and will not change.
For example of commands1 calls foo, and commands2 calls foo, the locale
of foo will be the locale when command1 was called.


David Korn
[email protected]
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to