On Tue, Aug 24, 2010 at 10:46:12AM +0100, Marc Herbert wrote: > Since the --terse option of nmcli is obviously meant to be parsed, > shouldn't it ignore locales? Or maybe avail two options: --terse versus > --cterse. > > LANG=ko_KR.utf8 nmcli --terse --fields state nm > 연결 끊겼음
IMHO it is standard practice to set LC_ALL=C when you call programs whose output you need to parse. The tool can stay simple. $ nmcli --terse --fields state nm neznámo $ LC_ALL=C nmcli --terse --fields state nm unknown -- Martin Vidner, YaST developer http://en.opensuse.org/User:Mvidner Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu
pgp5r8xWQ0KAL.pgp
Description: PGP signature
_______________________________________________ networkmanager-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/networkmanager-list
