|
![](/i/fill.gif) |
Bill DeWitt <the### [at] earthlink net> wrote:
: Then search all .pov, .inc and .mac files for ".mac" and replace it with
: ".mcr" I've got a multiple search and replace utility, but it only does open
: files and I have so many directories.... wah!
If he was using unix (and zsh) he could write something like:
for FILE (`find . -name '*.pov'`) { perl -pe 's/(#include ".*)\.mac"/\1.mcr"/g' $FILE
> $FILE.tmp; mv $FILE.tmp $FILE }
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
![](/i/fill.gif) |