applet 'ls' - wrong sort by 'time' when using wildcards/globbing

Bastian Bittorf bittorf at bluebottle.com
Thu Jan 30 08:17:36 UTC 2014


unsure if this is normal, but today i stumbled over this:

root at box:~ ls -lt /dev/dsp*
crw-r--r--    1 root     root       14,   3 Jan 30 08:44 /dev/dsp
crw-r--r--    1 root     root       14,  19 Jan 30 08:44 /dev/dsp1

the exspected result was to get the 'newest' link on top.
normal sorting by time works:

root at box:~ ls -lt /var/log/
-rw-r--r--    1 root     root           134 Jan 30 08:45 ulogd.log
-rw-r--r--    1 root     root             0 Jan 30 08:04 lastlog
-rw-r--r--    1 root     root             0 Jan 30 08:04 wtmp

root at 4900erHybrid-kueche:~ busybox --help | grep ^BusyBox
BusyBox v1.19.4 (2014-01-24 09:32:52 EST) multi-call binary.

bye, bastian


More information about the busybox mailing list