Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: She-bang confusion

by extremely (Priest)
on Apr 08, 2002 at 18:41 UTC ( #157516=note: print w/replies, xml ) Need Help??


in reply to She-bang confusion

In vim type :se ff=unix and then save the file.

=) dos endings are going to drive you nuts till you learn to move files with ftp and text mode rather than binary mode.

Or in perl you can fix the file with perl -pi.bak -e 's/\r\n/\n/'

--
$you = new YOU;
honk() if $you->love(perl)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://157516]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2017-03-26 00:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (313 votes). Check out past polls.