Point taken wrt the change, I always forget that. Thanks Melinda. Nice to see you still lurk here on occasion :-) -- bc
On Wed, Aug 5, 2009 at 3:42 PM, Melinda W. Varian<[email protected]> wrote: > On Wed, 2009-08-05 at 14:50 -0400, Bob Cronin wrote: >> I must still be missing something because that did not help. Here's the >> snippet: >> >> '| e:', /* Go lookup Internet addresses */ >> '| Copy', /* Consume the record */ >> '| Locate Anycase Fs ; F2 "/contr/"', /* Check if a contractor */ >> '| Change Anycase Fs ; F2 "/contr/"/"', /* If so, drop the /contr */ >> '| d:', /* Go try again */ > > Bob, it shouldn't matter whether the "copy" comes before or > after the "locate ... | change" sequence. Can you show us > more of the pipeline, please? > > Incidentally, from an efficiency point of view, you can replace > the "locate | change" sequence with a "change" that has a > secondary output stream defined. That will discard all > unchanged records and is usually faster than handling the > changed records twice. > > Melinda >
