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]

Re: bash scripting problem


Eric Blake wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Andrew Louie on 12/1/2006 3:17 PM:
You have DOS line endings in these files. Use 'd2u' to remove them.

Thanks! I would have never known that,

now, can i run d2u on every file in my installation?

No, only run it on text files (it corrupts binary files, such as *.exe).
d2u may also corrupt "text" files that need to have CR in them. This includes bash scripts that need to parse or output CR.

-Rob


-- 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]