Following up on shell(locale) problem

François Chaplais francois.chaplais at mines-paristech.fr
Tue Mar 1 16:36:12 EST 2011


the LC shell command launches a shell which not the same as the one in Terminal. I am unfortunately not a Unix guru, but I know this has consequences on some "default" options, even if you use the same variant of the shell (BASH, I believe).
Le 1 mars 2011 à 22:00, Peter Haworth a écrit :

> Hoping someone might come up with some help.  To recap, if I execute the command
> 
> locale -k LC_NUMERIC
> 
> ...from Terminal on my Mac, the output is
> 
> decimal_point="."
> thousands_sep=","
> grouping="3;3"
> 
> However, if I use the LC Shell command to issue the same command and put the output into a field, it gives me:
> 
> decimal_point="."
> thousands_sep=
> grouping="0"
> 
> The thousands_sep and grouping lines don't show the correct info.
> 
> I have also tried using the shell command to issue "locale -k LC_NUMERIC > myFile.txt", then accessed myFile.txt with the put url command and used open/read to get the contents, but still the same result. The file looks fine when opened in TextEdit.  I can even copy and paste from TextEdit to the LC field and it looks fine.
> 
> I'm really hoping not, but this is feeling like a bug.
> 
> Any thoughts?
> 
> Pete Haworth
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list