On 11/2/2017 5:13 PM, Rob van der Heij wrote:
>   \ o: fanout
>   | copy
>   | p: parcel

OK, so we're beyond "simple" already.  On the other pipe, we'll have to
be VERY careful not to add or drop a byte anywhere!  But thanks for the
example--I hadn't learned PARCEL yet.

>   | addrdw cms
>   | spec 1.2 c2d

It's always seemed to me there should be some less cryptic (and not
limited to 2 or 4 bytes) way to do this.  COUNT MINLINE and MAXLINE
would seem to be doing it but discarding all but the requested line of
output.  COUNT (CHARS|WORDS) BY (WORD|LINE)?

And while I'm at it, how about an operand for PARCEL to tell it that the
alternate input contains lines of the proper length rather than numbers,
so this extra manipulation isn't even needed?  Not sure what reasonable
names for the two choices would be, though.  LENGTH could be either, so
it's probably a bad choice for both.  NUMBER vs. RECORD?

¬R

Reply via email to