On Fri, 17 Mar 2023 16:56:25 +0100, Rob wrote:
>On Fri, 17 Mar 2023 at 16:51, Glenn Knickerbocker <n...@bestweb.net> wrote:
>>   ... | split -80 before 00-ff 1 | ...
>So you want to split 80 from the right?

No, -80 BEFORE is just 79 AFTER plus the one character matched by the
xrange.  The tiny trick of using BEFORE is just not having to adjust the
length to account for that one character.

> Is that   .. | x: if chop -80 | x: | ...   ?

The equivalent to that (minus the extra null records) would take
*another* tiny trick I use all the time with CHOP to *generate* null
records.  To work around "-0 is not a snumber," I look for a character
that doesn't exist:

  ... | split 80 before not 00-ff | ...

¬R

Reply via email to