Help for this page

Select Code to Download


  1. or download this
    open(INPUT,"filename.txt") or die "Will not open input: $!";
    open(OUTPUT,">output.txt") or die "Will not open output: $!";
    ...
    }
    close OUTPUT;
    close INPUT;
    
  2. or download this
    perl -ple"BEGIN{$/=\164}" filename.txt >output.txt