NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Turn off sorting (Score:2)
-Dom
Re:Turn off sorting (Score:2)
That's a -1, not a -l. The reason I added -1 to the test was to make sure none of the ls versions was spending extra time trying to compute the number of filenames that could fit on a line or whatever. (And also because my little hacked-up Perl version couldn't do that.)
I posted to the GNU coreutils (combination of fileutils, which includes ls, and two other packages) bugs mailing list, and they responded by asking the version of my GNU ls and my OS. Turns out ls from GNU coreutils 5.0 (my version) has this problem, but the latest version did not. As always, the solution always seems to be to upgrade. :)
Yikes. I'm the only person I've ever known who has filed a bug report on ls!
J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
Reply to This
Parent