\r in variables and test
Sun Apr 22 17:06:00 GMT 2007
In a ./configure script, I call a test program (native python, actually)
that outputs "True\r\n" and I put this result in variable foo. The
problem is that [ "$foo" = True ] doesn't return true because foo
actually contains True\r, not True.
Is there a nice way around this?
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin