voila une énigne pour la commande ls
commande locale:
rob2@ordi:~/test2$ locale
LANG=fr_FR.UTF-8
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=
commande ls sur le dossier test2:
rob2@ordi:~/test2$ ls > liste.txt
rob2@ordi:~/test2$ cat liste.txt
a.html
b.html
c.html
d.html
e.html
é.html
è.html
ê.html
liste.txt
m.html
cela semble correct
j'ajoute 4 fichiers:
rob2@ordi:~/test2$ touch ab.html cb.html éa.html ma.html
re commande ls:
rob2@ordi:~/test2$ ls > liste.txt
rob2@ordi:~/test2$ cat liste.txt
ab.html
a.html
b.html
cb.html
c.html
d.html
éa.html
e.html
é.html
è.html
(…)