Help for this page

Select Code to Download


  1. or download this
    for %q in (*.txt) do perl -pe"$_.=$/" "%q" > "%q.new"
    
  2. or download this
    perl -nEsay        # 5.10
    
    perl -pe$_.=$/     # <5.10 Windows
    
    perl -pe'$_.=$/'   # <5.10 bash