[NTLUG:Discuss] ls weirdness

kbrannen@gte.net kbrannen at gte.net
Thu Jun 21 23:41:21 CDT 2001


Help!  I'm losing my mind... :-)

I just downloaded source to a program, untar'd it, and looked for a README
file.  "What!  It doesn't have a README or an INSTALL?"  Then I notice the
file listing, it was:

[82] ls
BUGS          curs.h          Makefile                README
bump          dispdata.bak    Makefile.in             README.performance
bump.c        dispdata.c      netresolv.c             release.sh
bumpmaj.sh    gh.c            netresolv.h             services.c
bump.sh       IANA            netwatch.1              tcp.gen
CHANGES       icmp.awk        netwatch-1.0a.lsm       tcp.ports
config.h.in   icmpdefs.gen    netwatch.alpha.patches  TODO
configure     icmp.gen        netwatch.c              udp.gen
configure.in  lookdata        netwatch.conf.eg        udp.ports
COPYING       lookdata.c      netwatch.h              version
core.h        Make.common     port.awk                warning.c
curs.c        Make.common.in  processinetrc.c

I then did a few other things:

[85] which ls
ls is a tracked alias for /bin/ls
[86] alias ls
ls: alias not found
[88] unset LS_OPTIONS
[89] echo $LS_OPTIONS
<<blank line>>

Try again...same answer...

Why oh why is it mixing the upper and lower case files this way?!

I have a SuSE 7.1 system installed.  /bin/ls does seem to be the original for
7.1.  BTW, "ls -l" puts them in the same case ignored sort order.  Has anyone
else seen this?  Does anyone know how to restore it back to strict ASCII
order?

And yes, it does this in every dir I try it in, not just the one listed above.

Kevin



More information about the Discuss mailing list