Help for this page

Select Code to Download


  1. or download this
    find . -name '*.fileext' -print0 | xargs -0 perl -pi'.bak' -e 'print "
    +#something3.cfg\n" unless $c++;'
    
  2. or download this
    perl inplace.pl firstFile.fileext
    perl inplace.pl secondFile.fileext
    ...
    
  3. or download this
    #!perl -pi'*'
    print "#something3.cfg\n" unless $cnt++;