This is the mail archive of the
mailing list for the Cygwin project.
Re: String concatenation and if-fi constructs in bash fail
- From: Owen Rees <owen dot rees at hp dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 09 Nov 2006 12:18:42 +0000
- Subject: Re: String concatenation and if-fi constructs in bash fail
- References: <455311BF.email@example.com>
--On Thursday, November 09, 2006 12:32:15 +0100 Borislav Tomov wrote:
The number 2: two
+ twos one
for line XX which is the last +1 line of the script, the
following message is displayed
script_path: line XX: syntax error: unexpected end of file
This is not Cygwin specific. You get the same results on Linux provided
that you copy the scripts across in binary mode preserving the \r
characters at the ends of the lines.
See the archives for much discussion of bash and \r.
Hewlett Packard Laboratories, Bristol, UK
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html