On Wed, 22 Mar 2023 at 01:56, Glenn Knickerbocker <[email protected]> wrote:
> Partly because they're all solutions to different things. I have a bad > habit of editing out too much of what I think is repetitive, leaving > things confusingly out of context. > > Here's my original statement: > > > I had records to split at column 80 and I knew they weren't longer than > > 160, so DEBLOCK FIXED 80 did the job. What if the right part might be > > longer than the left? > And that's where I got lost - if some records are more than 80 but never longer than 160, then the "right part" wouldn't be longer than the left when you split at column 80. But it looks like those are different challenges. I admit I didn't realize that CHOP would make a null record, and you can't just remove them if you didn't make them, so how about only chopping the long ones? So we could use IF for what it was meant to do? .. | y: if locate -80 | x: if chop -80 | x: | y: | ... Rob
