Reminders
Friday, April 11, 2008
perl bad interpreter: No such file or directory..windows EOL characters
This problem happens when editing scripts on a windows based system then FTP'ing them to unix/linux boxes.
This simple Perl command always seems to clear up the problem. Try the following command on your text file then try and run it.
perl -i -pe's/\r$//;'
Newer Posts
Older Posts
Home
Subscribe to:
Comments (Atom)
Blog Archive
►
2012
(1)
►
June
(1)
►
2011
(3)
►
August
(1)
►
April
(2)
►
2010
(1)
►
March
(1)
▼
2008
(12)
►
September
(1)
►
July
(1)
►
June
(1)
▼
April
(1)
perl bad interpreter: No such file or directory..w...
►
March
(1)
►
February
(4)
►
January
(3)
►
2007
(5)
►
December
(2)
►
November
(3)
Daily Links
Quick Access