Help for this page

Select Code to Download


  1. or download this
    s/[\n\r\f]//g
    
  2. or download this
    perl -i.tmp -p yourscript.pl file.txt
    
  3. or download this
    open (F,"file.txt");
    @ar = <F>;
    ...
        s/[\n\r\f]//g;
        # do what you want with the line.
    }