ratproxy icon indicating copy to clipboard operation
ratproxy copied to clipboard

ratproxy-report.sh: line 29: $'\r': command not found

Open GoogleCodeExporter opened this issue 10 years ago • 1 comments

I am running

$ ./ratproxy -v DELME -w report -d www.okiok.com –lfscmxt

But I cannot generate the report. The report file is properly generated

$ ./ratproxy-report.sh
./ratproxy-report.sh: line 29: $'\r': command not found
./ratproxy-report.sh: line 230: syntax error near unexpected token `elif'
'/ratproxy-report.sh: line 230: `    elif [ "$severity" = "2" ]; then


OS: XP Pro 5.1 SP3 (Version 5.1.2600)
Cygwin: GNU bash, version 4.1.10(4)-release (i686-pc-cygwin)

Original issue reported on code.google.com by [email protected] on 16 Apr 2012 at 3:37

GoogleCodeExporter avatar Aug 13 '15 22:08 GoogleCodeExporter

dos2unix ./ratproxy-report.sh 
corrects the issue, the file was simply not saved in a Unix format!

Original comment by [email protected] on 20 Apr 2012 at 2:59

GoogleCodeExporter avatar Aug 13 '15 22:08 GoogleCodeExporter