Article View: muc.lists.netbsd.tech.userlevel
Article #11Re: CVS commit: othersrc/external/bsd/agcre
From: Alistair Crooks
Date: Thu, 15 Oct 2026 15:38
Date: Thu, 15 Oct 2026 15:38
45 lines
5457 bytes
5457 bytes
--0000000000009d207f065de2d83a Content-Type: text/plain; charset="UTF-8" On Wed, 14 Oct 2026 at 16:36, Valery Ushakov <uwe@stderr.spb.ru> wrote: > On Wed, Oct 14, 2026 at 22:25:21 +0000, Alistair G. Crooks wrote: > > > Module Name: othersrc > > Committed By: agc > > Date: Wed Oct 14 22:25:21 UTC 2026 > > > > Removed Files: > > othersrc/external/bsd/agcre: Makefile README namespace.mk > [...] > > Log Message: > > Remove this old code, it's been superceded - see pkgsrc/devel/libagcre > > and pkgsrc/textproc/agcre > > Shall we perhaps make it (the new code) our usr.bin/grep? > > I've always resisted this in the past, as the Perl escapes are just the ones that I use myself, they're not the complete set, and might make this whole thing "non standard", FSVO standard. It's also why I gave it an egotistical fluffery name, rather than calling it some form of grep :) But, at the same time, I see egrep hasn't changed in 9 years since I wrote the README, and so, right now, I definitely wouldn't expose any regular expressions to the internet without making sure they couldn't be abused. We also don't have any wchar_t expressions in base, and I can imagine people getting confused by some things in the library, like the virtual instructions it can dump, or the execution tracing. I might try a short experiment to use the new code in a build.sh run, and see what happens - that's where previous attempts (with tre) have failed, mainly due to the distinction between basic and extended regexps, IIRC. Best, Al --0000000000009d207f065de2d83a-- -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID:
<CAN5gJXr2yF_-NEexbYnOk2QLO9QOuS03nCP4yxkzK_wovzudGA@mail.gmail.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mailReferences:
<atAR9bzSWloHzG5Y@snips.stderr.spb.ru> <>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: Alistair Crooks <alistaircrooks@gmail.com>
Newsgroups: muc.lists.netbsd.tech.userlevel
Subject: Re: CVS commit: othersrc/external/bsd/agcre
Date: Thu, 15 Oct 2026 08:38:47 -0700
Organization: Newsgate at muc.de e.V.
Sender: tech-userlevel-owner@NetBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <CAN5gJXr2yF_-NEexbYnOk2QLO9QOuS03nCP4yxkzK_wovzudGA@mail.gmail.com>
References: <atAR9bzSWloHzG5Y@snips.stderr.spb.ru> <>
Reply-To: alistaircrooks@gmail.com
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="0000000000009d207f065de2d83a"
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
logging-data="10413"; mail-complaints-to="news-admin@muc.de"
Authentication-Results: mail.netbsd.org (amavisd-new);
dkim=fail (2048-bit key) reason="fail (body has been altered)"
header.d=gmail.com
X-Greylist: delayed 390 seconds by postgrey-1.37 at homeworld.NetBSD.org; Fri, 16 Oct 2026 00:06:22 UTC
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20251104; t=1792078738; x=1792683538; darn=netbsd.org;
h=content-type:cc:to:subject:message-id:date:from:reply-to
:in-reply-to:references:mime-version:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=SkcyNbOFqOe+Qt27n0vRnPy3b4eRYKS5WhtHzy3UOfM=;
b=UpbYBSPc8+dNctohiKE64+TtDiHCmB3FbD38R3nbeJmC1C/TCgUaG/Ce4Qlc+A60KW
zk3tqsRR2igh4g6H2meIZBpEBen2+T3NZBp3s2tGs7glxnkhH/l/x+ggKE8P9ZZSyODE
Cg2TMIbBLXbZiCvPiQ/No+7B32GFqSlfyTf1U1fJqE7q4k2V9yFf5fOP+yB4ynonsmar
U+vfjWA4XO4QbRbjvdB0qK6Wg7SOdUaKBvk7ryWlX8qmUFpqs8llGVJlEEVOaDCKJO89
BNRbm5gOBvClbO7sEALO5fE6Fmb49ZwU/YE1jvaOldrMiUpSMFf+P5V08SnPs/qIrHtg
J3jw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1792078738; x=1792683538;
h=content-type:cc:to:subject:message-id:date:from:reply-to
:in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from
:to:cc:subject:date:message-id:reply-to:content-type;
bh=SkcyNbOFqOe+Qt27n0vRnPy3b4eRYKS5WhtHzy3UOfM=;
b=fyOu8NF2Lbgm5CzLlMw3lTpFaEnUs3Wlk7lP6LPXGe9JdMFwMEMOcZD43bpWkKXkYf
vFBy9V9lQFxgkC4HU6aj6RiDqoNYG1PZF/vir0dBJU7WZfpjrXBDz0KPlWqvwovRLe0T
jz2qVT7v3I8NfXdJVKdZW4zvfAoqiY0MWIhUfvUqbdQHIFJrjF/wDzqnt9Ni3rjkEutX
v4oZirr5hgk6ryC4rV0dVnPEzNpLvupXd8u4y2SH1qnXmNFCmziC9GymhGzbM3YU3rmO
nq5eU8k+KnTwlYxIEU+7ETapkSZMMe8ybabSymVdJw6dI/d7NUnGKv+JRSIVb+fGkYU5
/CXQ==
X-Gm-Message-State: AFq9FYK181lZff+UOBHCVUhth1ANeEvZBWeKIqT5Dt/82dooTUpIJwl7
0vUoZerUlKw6OKGu+OmwZpNnzF5E3JZ4C+9E+D+Lsym+A0WiNneRQYyTCtOogkj4ZsFY2nfcrq9
6m9v6cr3kL3nkFHgmt3CBkGnv7iNMM/M=
X-Gm-Gg: AYBFou2Wrhr6crRXKoGrVtxVBg+peHcUuHCjZ/r83k6GT0Aa7KUGVjeV6uRrzvy0oYc
GKtfJreEvks53rGCu3HQFko5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