Sergey Dryga wrote: > Carey Fisher - NCS ncsradio.com> writes: > > Iish reallyish loveish Russellsish decriptionish ofish > > approximateish solutionish toish designish problemsish. > > He'sish soish preciseish andish consistentish aboutish usingish > > approximateish valuesish heish almost soundsish likeish > > aish chefish addingish aish littleish ofish thisis andish > > aish littleish ofis thatish toish theish octopusish stewish. > > Iish canish useish serveralish ofish hisish designish > > ideasish forish myish currentish customerish. Maybeish aish > > resistorish hereish andish aish resistorish thereish. Hereish > > aish capish, thereish aish capish, everwhereish aish capish. > > Took me a while to understand that there is an actual message in this. > Very funny response! > here is the perl script to read the message above: > [code] > #!/usr/local/bin/perl > open $IN, "<", "c:/tmp/russels.txt" or die "Cannot open input file"; > > while (<$IN>) { > s/ish($)/$1/; > s/ish([\., ])/$1/g; > print; > }; > close IN; > [/code] Waaaay too verbose! Try this: perl -pe "s/ish\b//g" c:/tmp/russels.txt It shows that there were a few errors in encoding the original message :-) -- Dave Tweed -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist