[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ls now case insensitive?



On Mon, Oct 23, 2000 at 09:09:38PM -0400, Ben Collins wrote:
> On Mon, Oct 23, 2000 at 09:16:18PM -0400, cfm@maine.com wrote:
> > 
> > re: ls now case insensitive?
> > 
> > I've got scripts breaking now because ls seems no longer
> > case insensitive.  
> > 
> > tk.c
> > tk.o
> > TODO
> > tty
> > unfold_wk.c
> > 
> > Is this a bashism, a glibc thing, locales or POSIX way-it-will-be?
> > 
> > If it's not just bash, can we expect perl to "break" soon too?
> 
> I suspect locale. Try doing "LC_ALL=C ls"

Thank you Ben, that works.

Is the long term solution to add local to /etc/profile:
export LC_ALL=C
or otherwise?

Best,

cfm

-- 

Christopher F. Miller, Publisher                             cfm@maine.com
MaineStreet Communications, Inc         208 Portland Road, Gray, ME  04039
1.207.657.5078                                       http://www.maine.com/
Database publishing, e-commerce, office/internet integration, Debian linux.



Reply to: