Help for this page

Select Code to Download


  1. or download this
    perl -ple'BEGIN { print "new text" }' infile > outfile
    
  2. or download this
    perl -i -ple'BEGIN { print "new text" }' file