Foreach option ? Multiple find & replace in multiple fil
Posted: Mon Feb 20, 2006 7:26 am
Friends:
I have a list (file1) of ~1300 words ($1) I wish to replace
to ~1300 other words ($2) in 22 different files...
I csh a foreach i cat file1 | sed {} etc. command would do it.
Can textpad4 do such foreach loop? I have tried a macro
to find and replace each word in each open file,
but I cannot get it to work to the end of file1.
Thanx in advance for you patience.
I have a list (file1) of ~1300 words ($1) I wish to replace
to ~1300 other words ($2) in 22 different files...
I csh a foreach i cat file1 | sed {} etc. command would do it.
Can textpad4 do such foreach loop? I have tried a macro
to find and replace each word in each open file,
but I cannot get it to work to the end of file1.
Thanx in advance for you patience.