Package: coreutils Version: 9.1-1 Severity: normal Dear Maintainer,
Given the following (or any Debian changelog, really; I've annotated this one
with line numbers tho):
-- >8 --
tzpfms (0.3.2-1~bpo11) bullseye; urgency=medium 1
2
* Rebuild for bullseye. 3
4
-- наб <[email protected]> Sun, 04 Dec 2022 14:46:22 +0100
5
6
tzpfms (0.3.2-1) unstable; urgency=medium 7
8
* New upstream version 0.3.2 9
* Update upstream changelog 10
11
-- наб <[email protected]> Sun, 04 Dec 2022 14:30:51 +0100
12
13
tzpfms (0.3.1-1) unstable; urgency=medium 14
15
* New upstream version 0.3.1 16
* Import upstream changelog 17
* Only build documentation and depend on mandoc if !nodoc 18
* Only (depend on) shellcheck if !nocheck 19
20
-- наб <[email protected]> Sat, 29 Oct 2022 23:28:58 +0200
21
-- >8 --
These lines match /^ --/1:
6
13
So what on earth does this result mean:
-- >8 --
$ csplit w '/^ --/+1' {*}
166
203
317
0
$ head xx*
==> xx00 <==
tzpfms (0.3.2-1~bpo11) bullseye; urgency=medium 1
2
* Rebuild for bullseye. 3
4
-- наб <[email protected]> Sun, 04 Dec 2022 14:46:22 +0100
5
==> xx01 <==
6
tzpfms (0.3.2-1) unstable; urgency=medium 7
8
* New upstream version 0.3.2 9
* Update upstream changelog 10
11
-- наб <[email protected]> Sun, 04 Dec 2022 14:30:51 +0100
12
==> xx02 <==
13
tzpfms (0.3.1-1) unstable; urgency=medium 14
15
* New upstream version 0.3.1 16
* Import upstream changelog 17
* Only build documentation and depend on mandoc if !nodoc 18
* Only (depend on) shellcheck if !nocheck 19
20
-- наб <[email protected]> Sat, 29 Oct 2022 23:28:58 +0200
21
==> xx03 <==
$ wc xx*
5 22 166 xx00
7 29 203 xx01
9 48 317 xx02
0 0 0 xx03
21 99 686 total
-- >8 --
Notably, also:
-- >8 --
$ csplit w '/^ --/+1' {3}
csplit: ‘/^ --/+1’: match not found on repetition 3
166
203
317
0
$ csplit w '/^ --/+1' {2}
166
203
317
0
-- >8 --
Despite there being only two matches (<=> {1} => 3 files).
наб
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: x32 (x86_64)
Foreign Architectures: amd64, i386
Kernel: Linux 6.0.0-6-amd64 (SMP w/2 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages coreutils depends on:
ii libacl1 2.3.1-2
ii libattr1 1:2.5.1-3
ii libc6 2.36-7
ii libgmp10 2:6.2.1+dfsg1-1.1
ii libselinux1 3.4-1+b4
coreutils recommends no packages.
coreutils suggests no packages.
-- no debconf information
signature.asc
Description: PGP signature

