GNU bug report logs -
#27916
sed is limited to 24 patterns when using the delete command
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Thu, 3 Aug 2017 15:06:21 -0700
with message-id <CA+8g5KFGvMsJKR1h0HFArD4CmCNsyay87ZidpYHFrt-dhgs=JA <at> mail.gmail.com>
and subject line Re: bug#27916: sed is limited to 24 patterns when using the delete command
has caused the debbugs.gnu.org bug report #27916,
regarding sed is limited to 24 patterns when using the delete command
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> 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)]
[Message part 3 (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 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
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.
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.