# 使用 Homebrew 安装 style-check

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

## 安装

```sh
sudo av install brew:style-check
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install style-check
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:style-check
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/style-check>
- **版本:** 0.14
- **来源摘要:** Parses latex-formatted text in search of forbidden phrases
- **主页:** <https://www.cs.umd.edu/~nspring/software/style-check-readme.html>
- **上游文档:** <https://www.cs.umd.edu/~nspring/software/style-check-readme.html>
- **许可证:** GPL-2.0-only
- **源码归档:** <https://www.cs.umd.edu/~nspring/software/style-check-0.14.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- style-check.rb (cli)
- style-check.rb (别名)

## macOS 提供的库

- ruby

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.14
- 本地数据: OK
- 上游仓库: https://www.cs.umd.edu/~nspring/software/style-check-readme.html
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

style-check is a small Ruby command-line checker for LaTeX writing that flags regular-expression-defined forbidden phrases, spellings, syntax patterns, and capitalization rules.

### 项目历史

Neil Spring's official README presents style-check as a personal writing aid: when the author notices a mistake identifiable by a regular expression, he adds it to the ruleset and runs the checker over LaTeX-formatted papers.

The source file carries a 2004 copyright notice and describes the script as a quick check against verbose phrases, overused expressions, misspellings, and inconsistent capitalization or hyphenation, while explicitly saying it is not a substitute for a proofreader.

### 采用历史

The input package facts list style-check as a Homebrew package only, which matches its character as a narrow academic-writing utility rather than a broad ecosystem tool.

Its package-manager presence is still useful because the executable and default rule locations make it easy to install into local writing or build workflows without copying a standalone Ruby script by hand.

### 使用方式

The checker reads rule files from /etc/style-check.d, ~/.style-check.d, ~/.style-censor, ./style-censor, and related historical paths, then scans TeX files for expressions annotated with justifications.

The script supports options for gedit-style output, verbosity, HTML output, and overriding rule paths, making it suitable for editor or document-build integration.

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

style-check matters to package nerds as the kind of tiny, opinionated script that package managers preserve well: one executable, no service, text files for policy, and enough configurability to fit local workflows.

It also shows an older Unix style of linting prose with plain files and regular expressions, before modern grammar SaaS tools became common.

### 时间线

- 2004: The style-check.rb source carries a copyright notice for Neil Spring.
- 2010s: The official README describes rule-file based checking for LaTeX-formatted text.
- 2026: Input package facts list style-check as available through Homebrew.

### Related projects

- LaTeX is the document format style-check is designed to scan.
- Editor and build integrations are natural companions because the tool reports line-oriented findings from source text.

### 来源

- <https://github.com/nspring/style-check/blob/master/style-check.rb>
- <https://www.cs.umd.edu/~nspring/software/style-check-readme.html>
- input.source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: /etc/style-check.d/*, ~/.style-check.d/*, ~/.style-censor, ./style-censor, ~/.style-checkrc
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** style-check
- **Version Scheme:** 0
- **Revision:** 1
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 相关链接

- [Package publisher tools](https://pkg.so/zh-hans/package-publishers/) - Belongs to a package publishing or registry command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [tmuxinator](https://pkg.so/zh-hans/brew/tmuxinator/) - Shares pkgdb curated category or tags: cli, productivity, ruby.
- [latexindent](https://pkg.so/zh-hans/brew/latexindent/) - Shares pkgdb curated category or tags: cli, latex, productivity.
- [mdless](https://pkg.so/zh-hans/brew/mdless/) - Shares pkgdb curated category or tags: cli, productivity, ruby.
- [biber](https://pkg.so/zh-hans/brew/biber/) - Shares pkgdb curated category or tags: cli, latex, productivity.
- [latexdiff](https://pkg.so/zh-hans/brew/latexdiff/) - Shares pkgdb curated category or tags: cli, latex, productivity.
- [multimarkdown](https://pkg.so/zh-hans/brew/multimarkdown/) - Shares pkgdb curated category or tags: cli, latex, productivity.
- [yamlresume](https://pkg.so/zh-hans/brew/yamlresume/) - Shares pkgdb curated category or tags: cli, latex, productivity.
- [mikutter](https://pkg.so/zh-hans/brew/mikutter/) - Shares pkgdb curated category or tags: cli, productivity, ruby.
- [enter-tex](https://pkg.so/zh-hans/brew/enter-tex/) - Local package facts share a topical domain. Shared terms: cli, latex, productivity, text.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
