# xml-coreutils を Homebrew, MacPorts でインストール

xml-coreutils のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:xml-coreutils
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install xml-coreutils
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install xml-coreutils
```

  証拠: MacPorts ports tree: textproc/xml-coreutils/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:xml-coreutils
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.8.1
- **ソース概要:** Powerful interactive system for text processing
- **ホームページ:** <https://xml-coreutils.sourceforge.net/>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- 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 (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.8.1
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://sourceforge.net/p/xml-coreutils/code/>
- <https://sourceforge.net/projects/xml-coreutils/rss?path=/>
- <https://www.lbreyer.com/xml-coreutils.html>
- <https://xml-coreutils.sourceforge.net/>
- <https://xml-coreutils.sourceforge.net/man.html>
- <https://xml-coreutils.sourceforge.net/related.html>
- <https://xml-coreutils.sourceforge.net/xml_coreutils_tutorial.html>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- MacPorts - xml-coreutils: normalized package name match | MacPorts ports tree: textproc/xml-coreutils/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/xml-coreutils.yml](https://github.com/mxcl/pkgdb/blob/main/combined/xml-coreutils.yml)


## ソース

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