Continuing CR/LF Problems
Dave Korn
dave.korn@artimi.com
Tue Jan 30 18:53:00 GMT 2007
On 30 January 2007 15:50, Eramo, Mark wrote:
> As part of this multiplatform installer it generates a setup.sh script
> from information in the Installshield jars. When the setup.sh is
> produced, all the lines are terminated with a "^M"
That'll be the bug then. Report it upstream to the Ant maintainers.
> If you look at SHELLOPTS in the environment, it indicates that it knows
> about the igncr setting.
>
> "SHELLOPTS=braceexpand:emacs:hashall:histexpand:igncr:interactive-commen
> ts:monitor"
There's nothing that bash can do about this. It's not bash that creates
these scripts, it's the installshield program.
> I cannot do a simple d2u because there are some "^M's" that need to be
> in the file and this will remove them thus corrupting the file.
What?! This is a shell script, intended to run on a linux-alike system
which doesn't understand ^M. How can they be "necessary"?
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
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/
More information about the Cygwin
mailing list