Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re:{2} newlines for windows from unix

by jeroenes (Priest)
on Jun 07, 2001 at 18:25 UTC ( #86559=note: print w/ replies, xml ) Need Help??


in reply to Re: newlines for windows from unix
in thread newlines for windows from unix

I have a script, chmod +x, in ~/bin:
#!/usr/bin/perl -i -p tr/\015//d;
and I run it like: removecarr.pl ugly_whoze_file
Jeroen
"We are not alone"(FZ)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2016-07-26 03:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (231 votes). Check out past polls.