pkg.soopen package index

brew / 排名 5051

使用 Homebrew, MacPorts 安装 xml-coreutils

查看 xml-coreutils 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install xml-coreutils

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install xml-coreutils

MacPorts ports tree · textproc/xml-coreutils/Portfile · 来源: api.github.com

概览

软件包摘要

Powerful interactive system for text processing

命令和别名

  • xml-awk
  • xml-cat
  • xml-cp
  • xml-cut
  • xml-echo
  • xml-file
  • xml-find
  • xml-fixtags
  • xml-fmt
  • xml-grep
  • xml-head
  • xml-less
  • xml-ls
  • xml-mv
  • xml-paste
  • xml-printf
  • xml-rm
  • xml-sed
  • xml-strings
  • xml-unecho
  • xml-wc

历史

项目历史与用法

xml-coreutils is a suite of Unix/POSIX-style command-line tools for operating directly on XML documents. Its premise is simple and very package-nerdy: make XML processing feel as natural to shell users as text processing with the traditional coreutils.

项目历史

Laird Breyer's project pages describe xml-coreutils as an attempt to retrofit XML processing into existing shells so it can coexist with classical line-oriented tools. The project explicitly compares itself to GNU coreutils and tries to keep command names, short options, and behavior close to familiar Unix utilities where that makes sense.

The SourceForge release feed shows public tarball activity concentrated in 2010 and 2011, with versions 0.4, 0.7, 0.8, 0.8a, 0.8b, 0.8c, and 0.8.1. The homepage describes the project as early-stage and not ready for production use, but usable for simple tasks.

采用历史

Adoption appears to have stayed niche. The official site points users to tarballs, a mailing list, manual pages, a tutorial, and information for DEB/RPM packaging, while the SourceForge code page exposes a CVS repository snapshot rather than a later Git migration.

The project's own related-tools page places it among XML shell utilities such as XMLSH, XSH, XMLStarlet, XMLTK, XMLgawk, and xml2, suggesting it was part of the late-2000s effort to make XML friendlier to command-line users.

使用方式

The suite includes XML analogues of common shell operations: xml-cat, xml-cp, xml-cut, xml-find, xml-grep, xml-head, xml-less, xml-ls, xml-mv, xml-rm, xml-sed, xml-strings, xml-wc, and others. The tutorial emphasizes using these tools like traditional Unix commands, but against XML tree structure rather than raw text lines.

It is most practical as a historical and experimental shell toolkit for XML workflows, especially for users who want command composition over writing XPath-heavy scripts or full programs.

为什么软件包爱好者会关心

xml-coreutils is significant less for broad adoption than for its packaging idea: turn a structured-data problem into many small Unix commands, each independently documented, scriptable, and installable.

It also captures a moment before JSON became the dominant shell-adjacent structured format, when XML was common enough that developers wanted grep/sed/coreutils-like ergonomics for it.

时间线

  • 2010-05-11: SourceForge feed lists early 0.4, 0.7, and 0.8 tarballs.
  • 2010-05-16: 0.8a tarball published.
  • 2010-09-13: 0.8b tarball published.
  • 2011-04-10: 0.8c tarball published.
  • 2011-04-16: 0.8.1 tarball published.

Related projects

  • Related tools listed by the project include GNU coreutils, XMLSH, XSH, XMLStarlet, XMLTK, XMLgawk, xmltools, and xml2. Runtime/build-adjacent technologies named by the site include Expat and S-Lang.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 13 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
xml-awkcli全局可执行文件
xml-catcli全局可执行文件
xml-cpcli全局可执行文件
xml-cutcli全局可执行文件
xml-echocli全局可执行文件
xml-filecli全局可执行文件
xml-findcli全局可执行文件
xml-fixtagscli全局可执行文件
xml-fmtcli全局可执行文件
xml-grepcli全局可执行文件
xml-headcli全局可执行文件
xml-lesscli全局可执行文件
xml-lscli全局可执行文件
xml-mvcli全局可执行文件
xml-pastecli全局可执行文件
xml-printfcli全局可执行文件
xml-rmcli全局可执行文件
xml-sedcli全局可执行文件
xml-stringscli全局可执行文件
xml-unechocli全局可执行文件
xml-wccli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-04
管理器版本0.8.1
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://xml-coreutils.sourceforge.net/

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://xml-coreutils.sourceforge.net/none 置信度

安装元数据

软件包元数据

软件包键brew:xml-coreutils
版本0.8.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/xml-coreutils
主页https://xml-coreutils.sourceforge.net/
上游文档https://xml-coreutils.sourceforge.net/
许可证GPL-3.0-or-later
源码归档https://downloads.sourceforge.net/project/xml-coreutils/xml-coreutils-0.8.1.tar.gz
依赖s-lang
macOS 提供的库expat, ncurses
Bottle可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namexml-coreutils
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

MacPorts95%

xml-coreutils

sudo port install xml-coreutils
  • normalized package name match
  • 匹配方式:Xml Coreutils
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/xml-coreutils/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation