This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: ls --color: special char in redirected output
- From: "Larry Hall (Cygwin)" <reply-to-list-only-lh at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 23 Jun 2014 12:44:37 -0400
- Subject: Re: ls --color: special char in redirected output
- Authentication-results: sourceware.org; auth=none
- References: <CAK25myuiLJydke76M6HN-+NWjedG7QwaeBhJg6TU5Pca2XO2ZQ at mail dot gmail dot com>
- Reply-to: cygwin at cygwin dot com
On 06/23/2014 09:57 AM, Thomas Anderson 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/
Add the "-R" flag.
--
Larry
_____________________________________________________________________
A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?
--
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