GNU bug report logs - #31979
csplit: a regexp pattern does not consider the negative offset of a previous regexp pattern

Previous Next

Package: coreutils;

Reported by: Stéphane Campinas <stephane.campinas <at> gmail.com>

Date: Tue, 26 Jun 2018 15:12:02 UTC

Severity: normal

Tags: notabug

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #13 received at control <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Stéphane Campinas <stephane.campinas <at> gmail.com>,
 31979 <at> debbugs.gnu.org
Subject: Re: bug#31979: csplit: a regexp pattern does not consider the
 negative offset of a
Date: Mon, 24 Sep 2018 23:52:57 -0700
tag 31979 notabug
close 31979
stop

On 24/09/18 05:40, Stéphane Campinas wrote:
> Hi,
> 
> After attempting to port csplit, I think I understand why it is like
> that: it is to stop the iteration in case a pattern should be executed
> several times. Therefore, maybe an easy fix is to alter the
> documentation to indicate that lines within a negative offset are not
> matched in subsequent patterns, with the exception of the line-based
> pattern.

Thanks for following up.
I pushed that clarification in your name at:
https://git.sv.gnu.org/cgit/coreutils.git/commit/?id=7262994

cheers,
Pádraig




This bug report was last modified 6 years and 236 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.