bash 2.0.2 backquoted text includes final carriage return
Tue May 4 07:35:00 GMT 1999
Normally the replacement text in bash for something like `hostname` would
final line ending characters, but in bash 2.0.2 this appears not to be the
When I tried including the hostname in filenames in bash, I ended up with
returns in the filenames.
bash-2.02$ bash -version
GNU bash, version 2.02.1(2)-release (i586-pc-cygwin32)
Copyright 1998 Free Software Foundation, Inc.
bash-2.02$ echo -n `hostname` | od -c
0000000 b o r s \r
* Bill Kelly mailto:firstname.lastname@example.org
* 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 email@example.com
More information about the Cygwin