X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:references:message-id:date:from:reply-to
	:subject:to:in-reply-to:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=JJ3kXsTkVe5/kHv3
	+I6mf2q6Q4dAXzF5ait+YEHvSl9KPGyK2nnbAffA1DmdKaRmYGSW3wLhH1mUHQvA
	iZyitzfeYeR/ugu4JhDxn+H2SkucDOR/c16LrmoBIMLYBQNY0VSHpb4Nl7DIg5gt
	+yaQz3XVRySpkRdVliWI5t6uZfw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:references:message-id:date:from:reply-to
	:subject:to:in-reply-to:mime-version:content-type
	:content-transfer-encoding; s=default; bh=LLEfmdfyeWUi44DojMfLYv
	1pGuw=; b=Pw9VhNR6j2hxGnnwgl4ilWawsMsg682ko+G7c1cETrS6O67Dd1IEg2
	1SO9vvI110FtxEBXHwRtN8i9npCr6MvgxoaiBc6KeMHTdAB419s3YRZ1Vu1s+N1n
	WnwkrYzTo9EdYieHIaKzYvcugcXz8VjGupWqoo03bpt6Gemh7GFEU=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.2 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_COUK,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2
X-HELO: nm29-vm6.bullet.mail.ir2.yahoo.com
References: <CAK25myuiLJydke76M6HN-+NWjedG7QwaeBhJg6TU5Pca2XO2ZQ@mail.gmail.com>
Message-ID: <1403601861.31480.YahooMailNeo@web172206.mail.ir2.yahoo.com>
Date: Tue, 24 Jun 2014 10:24:21 +0100
From: GrahamC <grahamc001uk@yahoo.co.uk>
Reply-To: GrahamC <grahamc001uk@yahoo.co.uk>
Subject: Re: ls --color: special char in redirected output
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
In-Reply-To: <CAK25myuiLJydke76M6HN-+NWjedG7QwaeBhJg6TU5Pca2XO2ZQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s5O9OdpR010146

On Monday, 23 June 2014, 14:57, Thomas Anderson <t03.anders0n@gmail.com> wrote:

> Hi, after a recent upgrade (maybe the 20) I have some problem with
> special characters and ls --color
>
> For example:
>
> $ ls --color
> file.txt  temp/
>
> is ok
>
> but
> 
> $ ls --color > ls.txt
> 
> is not
> 
> $ less ls.txt
>
> file.txt
> ls.txt
> ESC[0mESC[01;34mtempESC[0m/
>
>
> I'm on Windows 7 with the 32 bit version.
>
> Bye,
> t03

Try ls --color=auto  or  ls --color=tty
or set an alias:  alias ls='ls --color=tty'


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


