Re: Aktuelle IP per Skript auslesen
Tobias Nissen wrote the following on 04.01.2009 13:38
> Tobias Nissen wrote:
> [...]
>> Die "Lokalisierung" kann man sich sparen, indem man in Skripten immer
>> die unlokalisierten Varianten der aufgerufenen Programme aufruft, also
>> etwa
>>
>> LANG=C ifconfig ppp0 ...
>
> Oder doch lieber mit LC_ALL=C...
>
> http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html#tag_08_02
noch besser:
LC_ALL=en_US.UTF-8 ...
http://people.debian.org/~osamu/pub/getwiki/html/ch09.en.html#thereconfigurationofthelocale
--
bye Thilo
key: 0x4A411E09
Reply to: