Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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)


Comment on Re:{2} newlines for windows from unix
Select or Download Code

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 meditating upon the Monastery: (10)
As of 2015-08-31 17:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (358 votes), past polls