use LC_ALL, not LANG, for forcing C

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

View File

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

View File

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