Am Sonntag, 22. Februar 2009 schrieb Josie Marcella Cölsch: Hi Josie!
> When scripting, the output of commands used in the scripts depend on > the locale settings. Stupid example would be the output of ls -l and > maybe I am greping for a date in it, the date format depends on > LC_TIME.. (and I am sure there are other things.. that are maybe more > significant) To make sure the same environment variables (regarding > language of messages, sorting, date/time format) is used wherever you > run the script, a locale would be defined at the beginning. But > locales like en_US or de_DE would have to be generated on the system > where the script is running otherwise setting LANG=de_DE wouldn't have > any influence. That's why LANG=C could be used. A setting that will > work on every system and that will produce the same results. That sounds really good for me. You made the point. But now it would be very interesting to have a short statement from LPI if that's the point mentioned by LPI in the test. And, next idea: Maybe this topic isn't clear enough to give candidates a hint what they have to learn for it. Peer -- Heinlein Professional Linux Support GmbH Linux: Akademie - Support - Hosting http://www.heinlein-support.de Zwangsangaben lt. §35a GmbHG: HRB 93818 B / Amtsgericht Berlin-Charlottenburg, Geschäftsführer: Peer Heinlein -- Sitz: Berlin _______________________________________________ lpi-examdev mailing list [email protected] http://list.lpi.org/cgi-bin/mailman/listinfo/lpi-examdev
