# 使用 Homebrew 安装 idsgrep

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

## 安装

```sh
sudo av install brew:idsgrep
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install idsgrep
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:idsgrep
- **软件包管理器:** Homebrew
- **版本:** 0.6
- **来源摘要:** Grep for Extended Ideographic Description Sequences
- **主页:** <https://tsukurimashou.org/idsgrep.php.en>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- idsgrep (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.6
## 项目历史与用法

IDSgrep is a Unix-style structural search tool for Han-script character descriptions. Its home page describes it as a general tree-matching utility whose main application is querying databases of Han character structures, with a query language inspired by regular expressions and data represented as extended Ideographic Description Sequences.

The project is unusually niche but historically interesting: it asks what grep would look like if the things being searched were character-structure trees rather than lines of text.

### 项目历史

IDSgrep came from the Tsukurimashou Project, a Japanese-language font project by Matthew Skala. The manual explains that Tsukurimashou's glyphs were implemented in MetaPost-like code whose structure mirrored character appearance, creating a practical need to find other characters that reused the same visual components.

The manual frames the tool as a response to limitations in radical-and-stroke, SKIP, Four Corners, multi-radical, handwriting, and GUI dictionary search methods. IDSgrep made those searches scriptable and composable on the command line.

The published manual carries copyright years 2012, 2013, 2014, 2015, and 2021. Its 2021 notes explain that version 0.6 was released after version 0.5 to show continued maintenance, refresh bundled data, and fix standalone packaging problems.

### 采用历史

Adoption appears narrow and specialized: CJK font development, dictionary data work, Unicode IDS experiments, and command-line users who need structural character queries. The Homebrew formula packages it with CHISE data and tests it by querying character decomposition data.

IDSgrep's home page says it can include or generate dictionary data from Tsukurimashou, KanjiVG, CHISE, and EDICT2, so its adoption story is tied to those data projects more than to a large standalone application ecosystem.

### 使用方式

IDSgrep is invoked much like grep: users provide a structural pattern and one or more input files, or use default dictionaries. Patterns can match literal characters, subtrees, wildcards, Boolean operators, regular expressions over meanings, and Unicode Ideographic Description Characters.

The tool is useful when a user knows a character's visual parts but not its code point, pronunciation, radical, or stroke count. It can also support font authors looking for existing glyph components or unimplemented characters that could share construction patterns.

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

IDSgrep is a classic package-manager curiosity: a tiny CLI with deep domain knowledge, binding together Unicode, CJK lexicography, font production, and Unix text-filter habits.

It is also a reminder that grep-like interfaces are not limited to flat text. IDSgrep packages a tree matcher and domain datasets as a command-line utility, which makes it unusually powerful for a problem most users only encounter through dictionary GUIs.

### 时间线

- 2012: IDSgrep manual copyright coverage begins.
- 2014: Version 0.5 is referenced by the manual as the earlier release before the later maintenance gap.
- 2021-03-30: Version 0.6 tarball is published on the project site.
- 2021: Version 0.6 refreshes bundled data and packaging.
- 2023-10-26: The manual identifies itself as version 0.7pre.

### Related projects

- Tsukurimashou is the parent project and original motivating use case.
- KanjiVG, CHISE, EDICT2, Unicode Ideographic Description Sequences, and traditional Unix grep are the closest related data sources and conceptual neighbors.

### 来源

- <http://svn.osdn.net/svnroot/tsukurimashou/trunk/idsgrep>
- <https://formulae.brew.sh/formula/idsgrep>
- <https://tsukurimashou.org/idsgrep.pdf>
- <https://tsukurimashou.org/idsgrep.php.en>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Combined YAML source

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


## 来源

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