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