Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Convert file to unix

by Khen1950fx (Canon)
on Aug 19, 2009 at 09:14 UTC ( [id://789742]=note: print w/replies, xml ) Need Help??


in reply to Convert file to unix

Try using ExtUtils::Command.

perl -MExtUtils::Command -e dos2unix filename.txt > filename_new.txt

Replies are listed 'Best First'.
Re^2: Convert file to unix
by Anonymous Monk on Aug 19, 2009 at 09:26 UTC
    ExtUtils::Command::dos2unix doesn't print to stdout. It changes files in place.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-03-28 16:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found