delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/05/04/11:59:12

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <4.1.19990504174447.00a2a4f0@pegasus.ii.softwired.ch>
X-Sender: bllklly AT pegasus DOT ii DOT softwired DOT ch
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1
Date: Tue, 04 May 1999 17:58:37 +0200
To: cygwin AT sourceware DOT cygnus DOT com
From: Bill Kelly <kelly AT softwired-inc DOT com>
Subject: bash 2.0.2 backquoted text includes final carriage return -
revisited
Mime-Version: 1.0

Answer:

Yes, the backquoted text from `hostname` does include the final carriage
return.
No, the version of hostname bash was picking was *not* from the cygwin
distribution.
I gather cygwin bash doesn't attempt to mediate between the DOS and Unix
conventions
in cases like this, it will strip \n and leave \r as is.


--
* Bill Kelly                     mailto:kelly AT softwired-inc DOT com
* SoftWired AG                   http://www.softwired-inc.com
* Technoparkstrasse 1  *  CH-8005 Zurich  *  +41-1-445 23 70 

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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