sportarup / ratproxy

Automatically exported from code.google.com/p/ratproxy
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 8 years ago
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