This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: bash scripting problem
Gary R. Van Sickle <g.r.vansickle <at> worldnet.att.net> writes:
> Do you have a link to such a script? I don't mean a proof-of-principle; I'm
> sure a suitable example can be contrived. What I'm looking for is a shell
> script "in the wild" that purposely has a carriage return embedded in it for
> reasons other than ending a line of the script.
>
I'm not sure what you mean. The scripts that give me problems are packages (like
the configure script for subversion 1.4x, before the cygwin release) and simple
bash scripts i created in VIM 7 to just change directories and run perl scripts
both had this dos line endings problem.
all of my mounts are mounted binmode.
Is there a utility like a hex editor for cygwin that can check files for the
"\r" line endings?
--
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/