Help for this page

Select Code to Download


  1. or download this
      perl -i.bak -pe 's/hello/goodbye/gi' file1 file2 ...
    
  2. or download this
      use Fcntl qw(:seek);
    
    ...
      truncate FOO, tell FOO;
      close FOO;