1[ -n "$d" ] || d=.. 2LC_ALL=C ls -1s "$d" > logfile.gnu 3busybox ls -1s "$d" > logfile.bb 4cmp logfile.gnu logfile.bb 5