APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

case insensitive ls lc directory listing


What is this stuff?

If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):



Newsgroups: comp.unix.sco.misc
From: Jean-Pierre Radley <jpr@jpr.com>
Subject: beautiful moon
Date: Wed, 4 Oct 2000 03:23:10 GMT

In honor of the beautiful first quarter moon this evening, here's a
free tip o' my hat:

Instead of this listing when you list a directory:



        AWF.IP
        TFX.IP
        appl
        save.tar
        ud

you can have a case-insensitive sort, instead of strict ASCII order:

        appl
        AWF.IP
        save.tar
        TFX.IP
        ud

The first is produced under the default language setting of C_C.C,
while the latter comes from setting LANG=english_us.8859 (or more
conservatively, LC_COLLATE=english_us.8859) in your environment.

-- 
JP



Got something to add? Send me email.





(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

-> -> case insensitive ls lc directory listing ––>beautifulmoon



Increase ad revenue 50-250% with Ezoic

Kerio Samepage


Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us