ls -f will turn off sorting.
The man page for ls on my linux system states that ls -f is equivalent to enabling -a (among other things). This would change the behaviour regarding plain ls so I would recommend using ls -U instead.
--
David Serrano
In reply to Re^2: greater efficiency required (ls, glob, or readdir?)
by Hue-Bond
in thread greater efficiency required (ls, glob, or readdir?)
by jperlq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |