macOS
brew install html-xml-utilslocal Homebrew formula metadata
sudo port install html-xml-utilsMacPorts ports tree · textproc/html-xml-utils/Portfile · 来源: api.github.com
安装
brew install html-xml-utilslocal Homebrew formula metadata
sudo port install html-xml-utilsMacPorts ports tree · textproc/html-xml-utils/Portfile · 来源: api.github.com
sudo apk add html-xml-utilsAlpine Linux edge package indexes · html-xml-utils · 来源: dl-cdn.alpinelinux.org
sudo apt install html-xml-utilsDebian stable package indexes · html-xml-utils · 来源: deb.debian.org
sudo dnf install html-xml-utilsFedora Rawhide package metadata · html-xml-utils · 来源: dl.fedoraproject.org
nix profile install nixpkgs#html-xml-utilsnixpkgs package indexes · pkgs/by-name/ht/html-xml-utils/package.nix · 来源: api.github.com
sudo pacman -S html-xml-utilsArch Linux sync databases · html-xml-utils · 来源: geo.mirror.pkgbuild.com
sudo zypper install html-xml-utilsopenSUSE Tumbleweed package metadata · html-xml-utils · 来源: download.opensuse.org
概览
Tools for manipulating HTML and XML files
历史
html-xml-utils is W3C's collection of small Unix-style programs for inspecting, normalizing, extracting, and transforming HTML and XML documents. The suite is notable because it treats markup manipulation as a pipeline-friendly command-line job rather than as a browser or DOM-library-only task.
The W3C distribution page describes the project as source tarballs for HTML and XML utilities, with older pre-0.1 releases named htmlutils. A major naming transition happened at version 5.0, when most programs received the hx prefix, which made the suite's command names more consistent and easier to package together.
The W3C ChangeLog records ongoing maintenance by Bert Bos, including releases in the 8.x line and bug fixes for tools such as hxselect, hxnormalize, hxcopy, and hxwls. The W3C software news archive highlights feature work such as expanded CSS selector support in hxselect and hxremove, HTML parsing support in hxpipe, and fixes for attribute selector handling.
The W3C README explicitly notes precompiled packages in Debian, Ubuntu, MacPorts, and other systems. Homebrew, Alpine, Debian, Fedora-family, Nix, Arch, and openSUSE package metadata show the suite has been carried by many Unix-like package collections, which is typical for small C utilities that fill scripting gaps.
The commands cover tasks such as adding IDs, extracting selected elements, normalizing markup, expanding includes, producing link lists, converting entities, building tables of contents, and selecting nodes with CSS selectors. The result is a toolbox for shell scripts that need to touch HTML or XML without writing a bespoke parser.
For package maintainers and CLI users, html-xml-utils sits in the same cultural space as tidy, xmllint, pup, and xmlstarlet: it is small, scriptable, and installable as one package that exposes many focused commands. The hxselect command is especially recognizable because it gives CSS-selector extraction to shell pipelines.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
asc2xml | cli | 全局可执行文件 | |
hxaddid | cli | 全局可执行文件 | |
hxcite | cli | 全局可执行文件 | |
hxcite-mkbib | cli | 全局可执行文件 | |
hxclean | cli | 全局可执行文件 | |
hxcopy | cli | 全局可执行文件 | |
hxcount | cli | 全局可执行文件 | |
hxextract | cli | 全局可执行文件 | |
hxincl | cli | 全局可执行文件 | |
hxindex | cli | 全局可执行文件 | |
hxmkbib | cli | 全局可执行文件 | |
hxmultitoc | cli | 全局可执行文件 | |
hxname2id | cli | 全局可执行文件 | |
hxnormalize | cli | 全局可执行文件 | |
hxnsxml | cli | 全局可执行文件 | |
hxnum | cli | 全局可执行文件 | |
hxpipe | cli | 全局可执行文件 | |
hxprintlinks | cli | 全局可执行文件 | |
hxprune | cli | 全局可执行文件 | |
hxref | cli | 全局可执行文件 | |
hxremove | cli | 全局可执行文件 | |
hxselect | cli | 全局可执行文件 | |
hxtabletrans | cli | 全局可执行文件 | |
hxtoc | cli | 全局可执行文件 | |
hxuncdata | cli | 全局可执行文件 | |
hxunent | cli | 全局可执行文件 | |
hxunpipe | cli | 全局可执行文件 | |
hxunxmlns | cli | 全局可执行文件 | |
hxwls | cli | 全局可执行文件 | |
hxxmlns | cli | 全局可执行文件 | |
xml2asc | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://www.w3.org/Tools/HTML-XML-utils/
安装元数据
| 软件包键 | brew:html-xml-utils |
|---|---|
| 版本 | 8.8 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/html-xml-utils |
| 主页 | https://www.w3.org/Tools/HTML-XML-utils/ |
| 上游文档 | https://www.w3.org/Tools/HTML-XML-utils |
| 许可证 | W3C |
| 源码归档 | https://www.w3.org/Tools/HTML-XML-utils/html-xml-utils-8.8.tar.gz |
| 最后更新 | 2026-06-09T18:18:54Z |
| Pulse | updated |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | html-xml-utils |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
html-xml-utils 7.7-1.1+b1
HTML and XML manipulation utilities
https://www.w3.org/Tools/HTML-XML-utils/
sudo apt install html-xml-utilshtml-xml-utils
nix profile install nixpkgs#html-xml-utilshtml-xml-utils 7.7-1.1build2
HTML and XML manipulation utilities
https://www.w3.org/Tools/HTML-XML-utils/
sudo apt install html-xml-utilshtml-xml-utils 8.7-r0
A number of simple utilities for manipulating HTML and XML files.
https://www.w3.org/Tools/HTML-XML-utils/
sudo apk add html-xml-utilshtml-xml-utils-doc 8.7-r0
A number of simple utilities for manipulating HTML and XML files. (documentation)
https://www.w3.org/Tools/HTML-XML-utils/
sudo apk add html-xml-utils-dochtml-xml-utils 8.7-1.fc44
A number of simple utilities for manipulating HTML and XML files
https://www.w3.org/Tools/HTML-XML-utils/
sudo dnf install html-xml-utilshtml-xml-utils 8.8-1
Utilities for manipulating HTML and XML files
https://www.w3.org/Tools/HTML-XML-utils
sudo pacman -S html-xml-utilshtml-xml-utils 8.7-2.3
A number of utilities for manipulating HTML and XML files
https://www.w3.org/Tools/HTML-XML-utils/
sudo zypper install html-xml-utilshtml-xml-utils
sudo port install html-xml-utils来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.