in reply to problem with shebang
Try running dos2unix on your script. Or look for control-M characters as line endings in your editor. MC's mcedit shows them.1. will not run from shebang 2. will run with "perl myscript" 3. will look fine with "cat myscript".
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: problem with shebang
by ikegami (Patriarch) on Apr 15, 2006 at 17:35 UTC |