This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

bash bobbles CR-LF


Most cygwin utilities gracefully handle text files with lines
terminated by either a bare newline or carriage return-linefeed.
Not so with bash (version 3.2.33(18)-release (i686-pc-cygwin)).
There are various symptoms, but the clearest is that, in
a script with CR-LF terminations, an empty line draws the
diagnostic, "$'\r': command not found".

Doug McIlroy

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]