Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Answer: Removing carriage returns from source code

by TStanley (Canon)
on Nov 03, 2001 at 22:19 UTC ( #123061=categorized answer: print w/replies, xml ) Need Help??

Q&A > CGI programming > Removing carriage returns from source code - Answer contributed by TStanley

And if you are using the vi editor on *nix, you can do the following:
:%s/^M//g

To get the Control M character, press Control-V first, then Control-M. TStanley

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2020-09-22 22:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (130 votes). Check out past polls.

    Notices?