Date: Sat, 15 Oct 2016 18:51:30 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 213510] csplit does not work any more Message-ID: <bug-213510-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213510 Bug ID: 213510 Summary: csplit does not work any more Product: Base System Version: 11.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: la5lbtyi@aon.at I am generating diffs of multiple files into a single output stream which consists of multiple sections looking like this: --- ./accessibility/jovie/Makefile.ORIG 2016-08-26 17:51:07.219458267 +0200 +++ ./accessibility/jovie/Makefile 2016-08-26 17:48:41.413457178 +0200 @@ -1,9 +1,16 @@ # $FreeBSD: head/accessibility/jovie/Makefile 420774 2016-08-24 08:20:31Z tcberner $ ... --- ./accessibility/kaccessible/Makefile.ORIG 2016-08-26 17:51:07.2684639= 53 +0200 +++ ./accessibility/kaccessible/Makefile 2016-08-26 17:48:41.5054357= 23 +0200 @@ -1,9 +1,16 @@ # $FreeBSD: head/accessibility/kaccessible/Makefile 420774 2016-08-24 08:20:31Z tcberner $ ... I now want to split this stream using csplit: csplit -k -n 3 - '/^[-*][-*][-*] .*\.ORIG/' '{1000}' This produces files xx000 to xx998 of size 0, and file xx999 with the follo= wing contents (one line only): --- ./accessibility/jovie/Makefile.ORIG 2016-08-26 17:51:07.219458267 +0200 This worked correctly in 10.3. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213510-8>