'pequel' script contains CRLF at end of each line
Status: Beta
Brought to you by:
gaffie
The script 'pequel' contains \r\n (also known as
CRLF - DOS/Windows-style) at the end of each line.
This breaks the script on UNIX, such that
$perl /usr/bin/pequel
works fine, but
$/usr/bin/pequel
returns the message
: bad interpreter: No such file or directory
The fix is simple - remove that pesky carriage return
from the first line. On UNIX, this will work:
$ tr -d '\r' < pequel > /tmp/p
$ chmod +x /tmp/p
$ mv /tmp/p pequel
more info: