On 24 July 2014 01:30, Michael Harding <[email protected]> wrote:

> I think you're expecting the results to flow out of the "bottom" of the
> pipe.  If you moved the ">" stage after the faninany (dropping the ": a2"
> connection) you'd probably have what you want.  That after all is where
> you're feeding the records selected by the locates.
>

That's where we find a cascade of locate stages to become tedious with more
than a few criteria (a few being a personal threshold). For simple lookup
cases like this, when I'm still bending my pipes it can be elegant to use
'not lookup' like this:

 ..
| x: not lookup 29.4 1.4\ literal 0609 1090 ... | split | x:
| ..

The matching records now show at the end of this segment. This way you can
insert or remove the segment without further changes to the pipeline. A
similar piece of scaffolding is to do some destructive display in the
pipeline (my pipes tend to be too complicated for PIPEDEMO - sorry Mike)

| z: fanout | fmtdump | cons \ z:

Sir Rob the Plumber
http://rvdheij.wordpress.com/

Reply via email to