GNU bug report logs - #27916
sed is limited to 24 patterns when using the delete command

Previous Next

Package: sed;

Reported by: jean-christophe manciot <actionmystique <at> gmail.com>

Date: Wed, 2 Aug 2017 13:37:02 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: jean-christophe manciot <actionmystique <at> gmail.com>
Subject: bug#27916: closed (Re: bug#27916: sed is limited to 24 patterns
 when using the delete command)
Date: Thu, 03 Aug 2017 22:07:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#27916: sed is limited to 24 patterns when using the delete command

which was filed against the sed package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 27916 <at> debbugs.gnu.org.

-- 
27916: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27916
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Jim Meyering <jim <at> meyering.net>
To: jean-christophe manciot <actionmystique <at> gmail.com>
Cc: Assaf Gordon <assafgordon <at> gmail.com>, 27916-done <at> debbugs.gnu.org
Subject: Re: bug#27916: sed is limited to 24 patterns when using the delete
 command
Date: Thu, 3 Aug 2017 15:06:21 -0700
tags 27916 + notabug
thanks

On Thu, Aug 3, 2017 at 2:00 AM, jean-christophe manciot
<actionmystique <at> gmail.com> wrote:
> You're right, my bad.

Marking as resolved/notabug in our tracker.

[Message part 3 (message/rfc822, inline)]
From: jean-christophe manciot <actionmystique <at> gmail.com>
To: bug-sed <at> gnu.org
Subject: sed is limited to 24 patterns when using the delete command
Date: Wed, 2 Aug 2017 15:35:53 +0200
[Message part 4 (text/plain, inline)]
sed (GNU sed) 4.4

*With 24 patterns, sed filters correctly 'build-aux':*
root <at> samsung-ubuntu:/home/actionmystique/src# find -L -path
'./*/build-*.sh' 2>/dev/null | sed -E '/\.gd.*$/d;
/.*git-Tao_Te_eChing.*$/d; /.*\.gnupg.*$/d; /.*google-chrome.*$/d;
/.*\.gpg$/d; /.*_key.*$/d; /.*\/\.key.*$/d; /.*\/key.*$/d; /.*\.key$/d;
/.*_Key.*$/d; /.*\..*\.luks$/d; /.*OAuth2.*$/d; /.*\/\.passwd.*$/d;
/.*\/passwd.*$/d; /.*\/\.password.*$/d; /.*\/password.*$/d; /.*\.pem$/d;
/.*\.ssh.*$/d; /.*\/tmp.*$/d; /.*\/Trash.*$/d; /.*Webmin.*$/d; /.*xca.*$/d;
/.*build-area.*$/d; /.*build-aux.*$/d' | grep -- "build-aux"
root <at> samsung-ubuntu:/home/actionmystique/src#

*With 25 patterns, sed fails to filter 'build-aux*':
root <at> samsung-ubuntu:/home/actionmystique/src# find -L -path
'./*/build-*.sh' 2>/dev/null | sed -E '/.*ExpressVPN/client\..*$/d;
/\.gd.*$/d; /.*git-Tao_Te_eChing.*$/d; /.*\.gnupg.*$/d;
/.*google-chrome.*$/d; /.*\.gpg$/d; /.*_key.*$/d; /.*\/\.key.*$/d;
/.*\/key.*$/d; /.*\.key$/d; /.*_Key.*$/d; /.*\..*\.luks$/d; /.*OAuth2.*$/d;
/.*\/\.passwd.*$/d; /.*\/passwd.*$/d; /.*\/\.password.*$/d;
/.*\/password.*$/d; /.*\.pem$/d; /.*\.ssh.*$/d; /.*\/tmp.*$/d;
/.*\/Trash.*$/d; /.*Webmin.*$/d; /.*xca.*$/d; /.*build-area.*$/d;
/.*build-aux.*$/d' | grep -- "build-aux"
./GTK-VNC/git-gtk-vnc/build-aux/ltmain.sh
./Xtables/xtables-addons/debian/xtables-addons-dkms/usr/src/xtables-addons-2.12/build-aux/ltmain.sh
./Xtables/xtables-addons/build-aux/ltmain.sh
...

*With the same 25 patterns grep filters correctly 'build-aux':*
root <at> samsung-ubuntu:/home/actionmystique/src# find -L -path
'./*/build-*.sh' 2>/dev/null | grep -vP --
'.*ExpressVPN/client\..*$|\.gd.*$|.*git-Tao_Te_eChing.*$|.*\.gnupg.*$|.*google-chrome.*$|.*\.gpg$|.*_key.*$|.*\/\.key.*$|.*\/key.*$|.*\.key$|.*_Key.*$|.*\..*\.luks$|.*OAuth2.*$|.*\/\.passwd.*$|.*\/passwd.*$|.*\/\.password.*$|.*\/password.*$|.*\.pem$|.*\.ssh.*$|.*\/tmp.*$|.*\/Trash.*$|.*Webmin.*$|.*xca.*$|.*build-area.*$|.*build-aux.*$'
| grep -- "build-aux"
root <at> samsung-ubuntu:/home/actionmystique/src#

It's strange that 24 is the limit.
-- 
Jean-Christophe Manciot
[Message part 5 (text/html, inline)]

This bug report was last modified 7 years and 294 days ago.

Previous Next


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