[NTLUG:Discuss] Undoing Windows Sytle ls foo
Kenneth Loafman
ken at lt.com
Tue Aug 27 08:28:58 CDT 2002
You bet! That was the first place I checked to see if they had turned
on something in the global profiles that would cause it. After much
perusal of the ls docs, I came to the conclusion that ls was broke, but
Kevin (below) believes that it may be in the libs, so I may have to go
find the source and fix it, or get off Redhat. Debian does it right,
and so does Suse. I run Debian on my server at home, but its about a
year old, so they may have changed since then.
I see this as "trying to be like Microsoft", and that's bad, not because
MS is bad (a given), but because MS file systems are case insensitive.
There's a reason for the .foo files to be first, then the capitalized
files, then the lower case. It provides a way to compartmentalize your
directory, especially in the case of Makefile, where it is supposed to
be at the top of the listing, with the child makefile's along with the
related subcomponents. Other conventions follow in the same pattern.
...Ken
Fred James wrote:
> Have you looked at "alias"?
>
> kbrannen at gte.net wrote:
>
>> Kenneth Loafman wrote:
>>
>>> Just upgraded from RH 6.2 to 7.3. All is well except I can't seem
>>> to find which switches were installed that cause the oddball
>>> directory listing. I want (need) to have the old style UNIX
>>> directory listings with the dot-foo stuff first, alphabetized with
>>> case-sensitivity, etc. This new listing looks too much like the crap
>>> Windows users have to contend with.
>>
>>
>>
>> I had that problem too for awhile. I was starting to get so bugged
>> by it, I almost tracked down the source to ls just so I could compile
>> it with debug symbols and find out why it was sorting that way. Just
>> about the that time, I did an upgrade (from Suse 7.3 to 8.0) and the
>> problem went away. I still don't know why it happened, but part of
>> me is wondering if a "bad" version of glibc got into the distros for
>> awhile (I've seen this on RH too), before a "bug" (or feature :-) got
>> fixed. There is no switch I can find in the help screen or in the
>> man page that turns this on, and conversely, none to turn it
>> off...hence my thought about a library bug.
>>
>> That probably doesn't help you much, but maybe it will give you hope
>> that it will probably get better with the next upgrade.
>>
>> Kevin
>>
>>
>>
>> _______________________________________________
>> https://ntlug.org/mailman/listinfo/discuss
>>
>>
>
More information about the Discuss
mailing list