Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 html-xml-utils

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install html-xml-utils

local Homebrew formula metadata

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

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

Linux

Alpine Linux apk已验证 · 92%
sudo apk add html-xml-utils

Alpine Linux edge package indexes · html-xml-utils · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install html-xml-utils

Debian stable package indexes · html-xml-utils · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install html-xml-utils

Fedora Rawhide package metadata · html-xml-utils · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#html-xml-utils

nixpkgs package indexes · pkgs/by-name/ht/html-xml-utils/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S html-xml-utils

Arch Linux sync databases · html-xml-utils · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install html-xml-utils

openSUSE Tumbleweed package metadata · html-xml-utils · 来源: download.opensuse.org

概览

软件包摘要

Tools for manipulating HTML and XML files

命令和别名

  • asc2xml
  • hxaddid
  • hxcite
  • hxcite-mkbib
  • hxclean
  • hxcopy
  • hxcount
  • hxextract
  • hxincl
  • hxindex
  • hxmkbib
  • hxmultitoc
  • hxname2id
  • hxnormalize
  • hxnsxml
  • hxnum
  • hxpipe
  • hxprintlinks
  • hxprune
  • hxref
  • hxremove
  • hxselect
  • hxtabletrans
  • hxtoc
  • hxuncdata
  • hxunent
  • hxunpipe
  • hxunxmlns
  • hxwls
  • hxxmlns
  • xml2asc

历史

项目历史与用法

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.

时间线

  • 2001: The W3C download directory preserves old htmlutils material before the html-xml-utils 0.1 naming line.
  • Version 5.0: Most utilities were renamed with the hx prefix.
  • 2017: Version 7.2 and 7.4 expanded CSS selector support and improved hxselect and hxremove behavior.
  • 2022: Version 8.3 added HTML parsing support to hxpipe, and version 8.4 fixed ::attr() selector handling.
  • 2025: Version 8.7 fixed hxnormalize line-length behavior.
  • 2026: The W3C ChangeLog records version 8.8 maintenance.

Related projects

  • Related command-line markup tools include HTML Tidy for cleanup, libxml2's xmllint for XML validation and XPath work, xmlstarlet for XML transformations, and selector-oriented tools such as pup.

来源

  • Homebrew and distribution package pages support package-manager adoption.
  • W3C README and directory listing document the source distribution, old htmlutils naming, package-manager availability, hx prefix change, and command list.
  • W3C SoftwareNews and ChangeLog document 7.x and 8.x release evolution.

安全态势

风险级别:绿色

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 元数据适用于 6 个平台目标。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
asc2xmlcli全局可执行文件
hxaddidcli全局可执行文件
hxcitecli全局可执行文件
hxcite-mkbibcli全局可执行文件
hxcleancli全局可执行文件
hxcopycli全局可执行文件
hxcountcli全局可执行文件
hxextractcli全局可执行文件
hxinclcli全局可执行文件
hxindexcli全局可执行文件
hxmkbibcli全局可执行文件
hxmultitoccli全局可执行文件
hxname2idcli全局可执行文件
hxnormalizecli全局可执行文件
hxnsxmlcli全局可执行文件
hxnumcli全局可执行文件
hxpipecli全局可执行文件
hxprintlinkscli全局可执行文件
hxprunecli全局可执行文件
hxrefcli全局可执行文件
hxremovecli全局可执行文件
hxselectcli全局可执行文件
hxtabletranscli全局可执行文件
hxtoccli全局可执行文件
hxuncdatacli全局可执行文件
hxunentcli全局可执行文件
hxunpipecli全局可执行文件
hxunxmlnscli全局可执行文件
hxwlscli全局可执行文件
hxxmlnscli全局可执行文件
xml2asccli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-25
管理器版本8.8
管理器更新时间2026-06-09
本地数据OK
上游not checked
检测到的最新版本未检测到

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
Pulseupdated
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

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-utils
  • Section: text
  • Architecture: amd64
  • Source Package: html-xml-utils
  • 3 依赖
  • normalized package name match
  • 匹配方式:Html Xml Utils
Debian stable package indexes · deb.debian.org · Debian stable package indexes: html-xml-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

html-xml-utils

nix profile install nixpkgs#html-xml-utils
  • normalized package name match
  • 匹配方式:Html Xml Utils
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ht/html-xml-utils/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

html-xml-utils 7.7-1.1build2

HTML and XML manipulation utilities

https://www.w3.org/Tools/HTML-XML-utils/

sudo apt install html-xml-utils
  • Section: universe/text
  • Architecture: amd64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Html Xml Utils
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: html-xml-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

html-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-utils
  • License: W3C
  • Architecture: x86_64
  • Source Package: html-xml-utils
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Html Xml Utils
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: html-xml-utils from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

html-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-doc
  • License: W3C
  • Architecture: x86_64
  • Source Package: html-xml-utils
  • normalized package name match
  • 匹配方式:Html Xml Utils
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: html-xml-utils-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

html-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-utils
  • License: W3C AND BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: html-xml-utils
  • 5 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Html Xml Utils
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: html-xml-utils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

html-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-utils
  • License: W3C
  • Architecture: x86_64
  • 4 依赖
  • normalized package name match
  • 匹配方式:Html Xml Utils
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: html-xml-utils from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

html-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-utils
  • License: W3C
  • Category: Development/Languages/Other
  • Architecture: x86_64
  • Source Package: html-xml-utils
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Html Xml Utils
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: html-xml-utils from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

html-xml-utils

sudo port install html-xml-utils
  • normalized package name match
  • 匹配方式:Html Xml Utils
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/html-xml-utils/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
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment