Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: (OT) Fixing Line Endings

by serf (Chaplain)
on Dec 01, 2006 at 09:40 UTC ( #587147=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ln -s /usr/bin/perl "/usr/bin/perl$(echo -e "\r")"
    
  2. or download this
    ln -s /usr/bin/perl /usr/bin/perl^V^M
    
  3. or download this
    $ ls /bin/bash* | cat -v
    /bin/bash
    ...
    : ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Li
    +nux 2.0.30, dynamically linked (uses shared libs), for GNU/Linux 2.0.
    +30, stripped
    $ /bin/bash^M
    Your shell script has DOS linefeeds in it!
    
  4. or download this
    Your Perl script has DOS linefeeds in it!
    If you uploaded it to the server via FTP please upload it again in ASC
    +II mode.
    
  5. or download this
    set ff=unix
    
  6. or download this
    :%s/^V^M//g
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://587147]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2017-02-26 09:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (372 votes). Check out past polls.