ratproxy-report.sh: line 29: $'\r': command not found
Opened this issue · 1 comments
GoogleCodeExporter commented
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 outlaw.w...@gmail.com
on 16 Apr 2012 at 3:37
GoogleCodeExporter commented
dos2unix ./ratproxy-report.sh
corrects the issue, the file was simply not saved in a Unix format!
Original comment by outlaw.w...@gmail.com
on 20 Apr 2012 at 2:59