use LC_ALL, not LANG, for forcing C

This commit is contained in:
Mike Frysinger committed 2006-01-25 22:46:25 +00:00
1 parent 84005af7ef
commit 546a99db1d
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
[ -n "$d" ] || d=..
LANG=C ls -l "$d" > logfile.gnu
LC_ALL=C ls -l "$d" > logfile.gnu
busybox ls -l "$d" > logfile.bb
diff -w logfile.gnu logfile.bb
+1 -1
View File
@@ -1,4 +1,4 @@
[ -n "$d" ] || d=..
LANG=C ls -1s "$d" > logfile.gnu
LC_ALL=C ls -1s "$d" > logfile.gnu
busybox ls -1s "$d" > logfile.bb
cmp logfile.gnu logfile.bb