Page 1 of 1

Can Cyclic Replace do this?

Posted: Mon Jun 20, 2005 3:12 am
by ezinestein

Can cyclic replace work with multiple files?

Let's say I have 100 text files and the last line of each file reads 'someword'. Can I prepare a (cyclic replace) text file with 100 different words listed... and then run cylclic replace on the 100 original files so that each file will now have 'someword' replaced with an original word from the (cyclic replace) file that I created?

Like this...

file 1 has 'someword' at bottom.
file 2 has 'someword' at bottom.

I create text file cyclic.txt and put this in it:

'First Words'
'Second Words'

I would like to run cyclic replace and get this result:

file 1 has 'First Words'
file 2 has 'Second Words'

Can that be done? :)


Posted: Thu Jul 07, 2005 3:38 am
by ezinestein
Anyone know this? Pretty please. :D