Control: done -1 Osamu Aoki <[email protected]> writes:
> Hi, > > FYI: squeeze (or maybe sometime before squeeze) and wheezy have > different locale behavior. Now C and en_US.UTF-8 behaves almost the > same. At one point in history, en_US.UTF-8 was not the same date > expression as C. > > On Mon, Oct 29, 2012 at 12:37:26PM +0100, Olivier Berger wrote: >> Package: debian-reference-fr >> Version: 2.48 >> Severity: wishlist > > Anyway, 2.49 was uploaded yesterday with new example and web page is > just about to be updated in few hours. Can you check new contents. > > See > http://www.debian.org/doc/manuals/debian-reference/ch01.en.html#_timestamps > See > http://www.debian.org/doc/manuals/debian-reference/ch01.fr.html#_timestamps > > Now in English version: > For timestamps, the ls command outputs different strings under non-English > locale ("fr_FR.UTF-8") from under the old one ("C"). > > $ LANG=fr_FR.UTF-8 ls -l foo > -rw-rw-r-- 1 penguin penguin 0 oct. 16 21:35 foo > $ LANG=C ls -l foo > -rw-rw-r-- 1 penguin penguin 0 Oct 16 21:35 foo > Tip > See Section 9.2.5, “Customized display of time and date” to customize "ls -l" > output. > > If this and french translation: > En ce qui concerne l’horodatage, la commande ls affiche des chaînes > différentes avec les paramètres linguistiques non anglais (« fr_FR.UTF-8 ») > qu'avec le vénérable (« C »). > > $ LANG=fr_FR.UTF-8 ls -l foo > -rw-rw-r-- 1 pingouin pingouin 0 oct. 16 21:35 foo > $ LANG=C ls -l foo > -rw-rw-r-- 1 pingouin pingouin 0 Oct 16 21:35 foo$ LANG=en_US.UTF-8 ls -l > toto > Astuce > Consultez Section 9.2.5, « Affichage personnalisé de la date et de l’heure » > pour personnaliser la sortie de « ls -l ». > > If OK, please close this bug. I don't know about the timestamps, but it seems OK for the initial suggestion about the $LANG example. Hence closing. Thanks. Best regards, -- Olivier BERGER http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut Mines-Telecom, Telecom SudParis, Evry (France) -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

