我已经xml2多次推荐该软件包。它是一个有用的工具,可以将合理格式良好的 XML 数据转换为面向行的格式,可以使用grep或awk等进行搜索以进行简单的提取。甚至使用2xml包中的相应程序进行简单的更改。
debian 包描述说:
Package: xml2
Source: xml2 (0.4-3.1)
Version: 0.4-3.1+b1
Installed-Size: 66
Maintainer: Patrick Schoenfeld <schoenfeld@debian.org>
Architecture: amd64
Depends: libc6 (>= 2.14), libxml2 (>= 2.7.4)
Description-en: Convert between XML, HTML, CSV and a line-oriented format
xml2 tools are used to convert XML, HTML and CSV to and from a
line-oriented format more amenable to processing by classic Unix
pipeline processing tools, like grep, sed, awk, cut, shell scripts,
and so forth.
Homepage: http://ofb.net/~egnor/xml2/
Tag: interface::commandline, role::program, use::converting,
works-with-format::html, works-with-format::xml, works-with::text
Section: utils
Priority: optional
Filename: pool/main/x/xml2/xml2_0.4-3.1+b1_amd64.deb
Size: 13912
Run Code Online (Sandbox Code Playgroud)
不幸的是,主页字段是一个 404 死链接。
我想为它找到新家(如果有的话),以便我可以提供工作链接并向 debian 提交错误报告以更正主页链接。看来我的 google-fu 对这个任务还不够强大。
除了 debian 和其他发行版中的源档案,有谁知道xml2现在“生活”在哪里?有主页吗?一个 github 仓库?是弃件吗?
答案中提到的 github clone/xml2 repo 现在似乎也被放弃了。有一个分支,上次更新是在 2019 年 1 月,并将原始 html 文档转换为 Markdown:
一个 github 仓库?
那么有https://github.com/clone/xml2。
Debian 源代码直接包含所有这些,并在https://tracker.debian.org/pkg/xml2 上有超链接。
| 归档时间: |
|
| 查看次数: |
819 次 |
| 最近记录: |