Weird ls ouput
Keith Seitz
keiths@cygnus.com
Thu Oct 4 23:58:00 GMT 2001
On Fri, 5 Oct 2001, Brooks, Stephen wrote:
> > I have looked in a number of places but have failed to understand
> > why 'ls > files' produces something like this:
> >
> > ESC[0mESC[01;34mbinESC[0m/
> > ESC[01;34mdocESC[0m/
> > ESC[0mfilesESC[0m
> > ESC[01;34mi686-pc-cygwinESC[0m/
> > ESC[01;34mincludeESC[0m/
> > etc etc
> >
> > What is the issue?
These look like color codes used by ls --color... Are you trying this from
a DOS prompt? Normally this is off by default. Or at least it was in the
cygwin I installed on my new computer an hour ago.
You can force this off with "ls --color=no". I usually alias the color on
in my own shells, though.
Keith
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list