适用于 Debian 12 的 pcregrep 实用程序

问题描述 投票:0回答:1

Debian 曾经有一个可用的“pcregrep”实用程序。 我刚刚升级到 Debian 12,但在任何地方都找不到这个实用程序! 它是否已从所有 D12 软件包中删除?

有什么解决方法可以从旧版本移植这个吗?

debian pcregrep
1个回答
0
投票

我查看了 https://tracker.debian.org/pkg/pcre3,它跟踪 pcregrep 源包(以及其他一些包)的问题。

在 Debian 12 安装上使用

dpkg -l libpcre\*
- 假设您会发现 src:pcre3 中可能最重要的库必须有一个后继者

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                Version      Architecture Description
+++-===================-============-============-=====================================================================
un  libpcre-ocaml       <none>       <none>       (no description available)
ii  libpcre2-16-0:amd64 10.42-1      amd64        New Perl Compatible Regular Expression Library - 16 bit runtime files
ii  libpcre2-8-0:amd64  10.42-1      amd64        New Perl Compatible Regular Expression Library- 8 bit runtime files
ii  libpcre3:amd64      2:8.39-15    amd64        Old Perl 5 Compatible Regular Expression Library - runtime files
un  libpcre3-dev        <none>       <none>       (no description available)

您会发现libpcre2-16-0的源代码包是pcre2,它也是包含

/usr/bin/pcre2grep
的pcre2-utils的源代码。

这希望是您正在寻找的。

© www.soinside.com 2019 - 2024. All rights reserved.