Re: bash bobbles CR-LF

2008-02-22 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Doug McIlroy on 2/22/2008 12:14 PM: | 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)). | The

bash bobbles CR-LF

2008-02-22 Thread Doug McIlroy
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 dra