bin/72173: csplit(1) ver 1.9 wrong behaviour with negative offset
and repeat pattern set
Andrea Forghieri
a.forghieri at emmegi.it
Wed Sep 29 09:40:21 PDT 2004
>Number: 72173
>Category: bin
>Synopsis: csplit(1) ver 1.9 wrong behaviour with negative offset and repeat pattern set
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Sep 29 16:40:20 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Andrea Forghieri
>Release: 5.2.1-RC2
>Organization:
Emmegi S.p.A.
>Environment:
FreeBSD STARGATEII.emmegroup.it 5.2.1-RC2 FreeBSD 5.2.1-RC2 #0: Thu Feb 12 16:28:31 GMT 2004 root at wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386
>Description:
When a negative offset is given , and repeat pattern is set , every file but the first and the last , are empty (size = 0 ).
>How-To-Repeat:
csplit -k "testfile" '/4/-2' {2}
testfile is :
1
2
3
4
5
6
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list