Glenn, you can combine those PICKS into one.  It is a bit silly to test for
two words in a two-column range, isn't it?  If you have verified that there
is at least one word in 137.8, 146.8 you can combine the test for too many
into one by rejecting word 3 of the combined range.

In the not equal tests, you can compare the entire range against eight
blanks; that saves taking the substring.

   j.

2009/4/3 Glenn Knickerbocker <[email protected]>

> Usually I'm content to assume that lists of files and such that I'm
> going to act on were produced in a way I have control over and have the
> right number of words in the right place.  When I need to double-check,
> is there a more compact way than a huge cascade of PICK and VERIFY
> stages like this?
>
> ... | pick                136  == " "
>    | pick substr w1 of 137.8 ¬== ""
>    | pick substr w2 of 137.8  == ""
>    | pick                145  == " "
>    | pick substr w1 of 146.8 ¬== ""
>    | pick substr w2 of 146.8  == ""
>    | pick                154  == " "
>    | pick substr w1 of 155.2 ¬== ""
>    | pick substr w2 of 155.2  == ""
>    | verify              157     " "
>    | ...
>
> ¬R
>

Reply via email to