delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/01/30/12:05:49

X-Recipient: archive-cygwin AT delorie DOT 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:from:to:subject:date:message-id:content-type
:content-transfer-encoding:mime-version; q=dns; s=default; b=sna
9sB3ye/57QtvJmDvwBoAPSsogFJNFZ+B73h5p6RLdXOlyWWCIFYfSZc+7KoLMjIA
HD11dDS7ky3EYAy2+a6JCW4/0CbkMVC4hwrk7RZrXRdNJhgrziyIseO9/gQQrZaL
IE632sfzB5Usi+K/H+azIRcXXSwAfk06NGpGSt4o=
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:from:to:subject:date:message-id:content-type
:content-transfer-encoding:mime-version; s=default; bh=UhOLAo7F8
P/JeVH+HooqBgfRCLU=; b=fI/W5tJX2/+z2ZG4bKhMnwA/jPZsDZg/n5Gcc0kZM
ZYeCz1cvR2y9NOiMFs9jGO62It3QHNLVXd2OkquCxYmpnhJna2/MPYJt4uiwf+TC
1oPJRzmPaXyAjnh0JrNrtT62hARJGxVnnSZdoiJJS/KE4b3M3BXWttUParD97P8z
q4=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
X-HELO: nihxway4out.hub.nih.gov
X-IronPortListener: Outbound_SMTP
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AqAEAIOF6lKcKEex/2dsb2JhbABZhBu9JYEidIInAQQSKFEBKhQvEyYBBBsah2OcOoR0qlQXjlGDXIEUBI5jm2SDLYIq
From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr AT ncbi DOT nlm DOT nih DOT gov>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: dircolors generates output with '\r\n' ?
Date: Thu, 30 Jan 2014 17:04:50 +0000
Message-ID: <5F8AAC04F9616747BC4CC0E803D5907D0C47638A@MLBXv04.nih.gov>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s0UH5j2X016375

Hi,

I was trying to use the dircolor command on CYGWIN, and it did not work because
the two lines, which this command produces are separated by CRLF (which when
sourced by bash are not understood, bash seems to expect single LFs):

LS_OPTIONS='...';\r\n
export LS_OPTIONS\r\n

Why there are Windows-style EOLs in there?

Thanks,

Anton Lavrentiev
Contractor NIH/NLM/NCBI


--
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019