Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: unix->dos & dos->unix

by giulienk (Curate)
on Oct 10, 2002 at 09:08 UTC ( [id://204119]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #DOS to UNIX
    perl -i.orig -pe 's/\015\012/\012/g' dosfile.txt
    
  2. or download this
    %N = (
        WIN  => "\015\012",
        UNIX => "\012",
        MAC  => "\015"
    );
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://204119]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-03-29 12:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found