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.
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

bash 2.0.2 backquoted text includes final carriage return - revisited


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