This is the mail archive of the
mailing list for the Cygwin project.
Re: .bashrc strange behavior
>>>>> "Earnie" == Earnie Boyd <email@example.com> writes:
Earnie> This problem is related to the text vs binary issue. The
Earnie> user has the files mounted in binary mode. The .bashrc
Earnie> has \r\n (or text mode) line endings. The \r is being
Earnie> input into the buffer instead of removed causing the
Earnie> problems you are seeing.
Earnie> This is the reason I preach leaving the default text
Earnie> mounts and properly porting the code specifying the
Earnie> processing mode.
... but of course this wouldn't happen were .bashrc created by a
Cygwin program. They probably created it with Notepad or something.
IMHO there should be a fat warning about this in the User Guide. It
is mentioned there already, but too softly.
2325 3rd Street #324, San Francisco, California 94107
Want to unsubscribe from this list?
Send a message to firstname.lastname@example.org