This is the mail archive of the cygwin@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
bash 2.0.2 backquoted text includes final carriage return - revisited
- To: cygwin@sourceware.cygnus.com
- Subject: bash 2.0.2 backquoted text includes final carriage return - revisited
- From: Bill Kelly <kelly@softwired-inc.com>
- Date: Tue, 04 May 1999 17:58:37 +0200
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@softwired-inc.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@sourceware.cygnus.com