Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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: (5)
As of 2016-12-06 07:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (101 votes). Check out past polls.