>
>I've been making some tests with grep but I just can't find the
>solution. I've never used it, so it may be quite simple or maybe it
>just can't be done with grep... ;)

sounds like one of those 'easier in Perl' but I don't know if grep can add 
numbers like that. A scripted grep search might be the answer, using a variable 
which you add one to on each circuit.

I don't have time to write it but if you make a start, I'll chip in:-)

(run one cycle and record the script to get started, replacing the found string 
with itself, then replace the variables and just expand the replace line by 
copying and adjusting the variables in each copy.)

if that doesn't make any sense then let us know.

-- 
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to