Help for this page

Select Code to Download


  1. or download this
    perl -i -pe '(code that runs but does the wrong thing)'  `find . -name
    + '*.TXT'`
    
  2. or download this
    perl -i.bak -M'open IO => ":encoding(UTF-16LE)"' -pe 'BEGIN{undef $/} 
    +s/(?<=\x{feff})/Filename: $ARGV\n/'  `find . -name '*.TXT'`
    
  3. or download this
    find . -name '*.TXT' | xargs perl -i.bak ...