Help for this page

Select Code to Download


  1. or download this
    perl -e"BEGIN{$/=\(1024**2)  }" -pe "s/\x00\x42\x00\x11/\x00\x42\x00\x
    +f0/sg" infile | perl -e"BEGIN{$/=\(1024**2-3)}" 
    -pe "s/\x00\x42\x00\x11/\x00\x42\x00\xf0/sg" >outfile2
    
  2. or download this
    c:\test>type fred
    1234567890123456789012345678901234567890123456789012345678901234567890
    +123456789012345678901234567890123456789012345678901234567890
    
  3. or download this
    c:\test>perl -e"BEGIN{$/=\10}" -pe" s[8901][abcd]" fred > joe
    
    c:\test>type joe
    1234567890123456789012345678901234567890123456789012345678901234567890
    +123456789012345678901234567890123456789012345678901234567890
    
  4. or download this
    c:\test>perl -e"BEGIN{$/=\10}" -pe" s[8901][abcd]g" fred | perl -e"BEG
    +IN{$/=\7}" -pe"s[8901][abcd]g" >joe
    
  5. or download this
    c:\test>type joe
    1234567abcd234567abcd2345678901234567abcd2345678901234567abcd234567890
    +1234567abcd234567abcd2345678901234567abcd2345678901234567890