Bug#1029220: coreutils: csplit: expr with lookbehind loses lines vs equivalent no-offset construct

2023-01-19 Thread наб
For reference, and I don't know if this is the same bug or just related, but here's the original bug I ran into: -- >8 -- $ rm xx*; seq 999 | csplit - /10/-5 30 /10/-5 {2} %10% 110 8 70 195 3 3 28 3560 $ head -n9 xx* ==> xx00 <== 1 2 3 4 ==> xx01 <== 5 6 7 8 9 10 ... 29 ==> xx02 <== 30 ... 9

Bug#1029220: coreutils: csplit: expr with lookbehind loses lines vs equivalent no-offset construct

2023-01-19 Thread наб
Package: coreutils Version: 9.1-1 Severity: normal Dear Maintainer, I've extracted the following from a break-down I've been having for the past three hours (annotated): -- >8 -- $ seq 90 110 | cat -n 1 90 xx00 2 91 3 92 4 93 5 94 6 95 xx01 7 96