On Tue, Sep 02, 2008 at 09:24:58AM -0400, Alan B. Pearce wrote: > >It might help to step back and explain the problem one or two levels > >higher. > >The best solution might be to not get into this mess in the first place. > > I eventually figured that what the OP was after was to replace the first > instance of **TOKEN** with the first line of the other file, the second > instance with the second line ... etc, rather than global find/replace. > > At least I think that was what he was after. That's what I got from it. That's what the script that I posted does. BAJ -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist