-----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)). | 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".
And this is intentional, since by default, cygwin emulates Linux, and bash on Linux doesn't ignore CR. Reread the announcement (and consider using d2u or enabling the shell option igncr to overcome the default). http://cygwin.com/ml/cygwin-announce/2008-01/msg00002.html - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] volunteer cygwin bash maintainer -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHvyBI84KuGfSFAYARAhjLAKCgxmxzNdBVkHZqUDw2ojEaFzt6EgCbBUAd 0ekNwIpx2++zFlhu7BNfpVI= =B7rX -----END PGP SIGNATURE----- -- 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/