Re: ls now case insensitive?
On Mon, Oct 23, 2000 at 10:14:55PM -0400, cfm@maine.com wrote:
> 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?
Put it in your script as a work around for now.
--
-----------=======-=-======-=========-----------=====------------=-=------
/ Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \
` bcollins@debian.org -- bcollins@openldap.org -- bcollins@linux.com '
`---=========------=======-------------=-=-----=-===-======-------=--=---'
Reply to: