macOS
brew install titlecaselocal Homebrew formula metadata
安装
brew install titlecaselocal Homebrew formula metadata
概览
Script to convert text to title case
历史
titlecase is a small Perl command-line script and library-style function for converting text to title case. Its history is tied to John Gruber's Daring Fireball title-casing script and Aristotle Pagaltzis's refactoring/test-suite version.
John Gruber published his original Perl title-case script on Daring Fireball in May 2008, explaining that he used it to standardize Linked List headlines and that it handled small words, internal capitalization, domains, edge cases such as AT&T and Q&A, and first/last word capitalization.
In August 2008 Gruber credited Aristotle Pagaltzis with refactoring the Perl script in a more straightforward way, fixing edge cases, and turning David Gouch's test cases into a proper test suite. The plasmasturm project page describes titlecase as that refactoring and points to the program, test suite, and Git repository.
titlecase's adoption is intentionally small. It is a one-command text-processing utility for editors, scripts, publication workflows, and package users who want the Gruber-style title-casing behavior without embedding a larger formatting library.
The input metadata lists Homebrew as its package-manager surface. That matches its package-nerd profile: tiny Perl script, stdin/stdout behavior, reproducible test cases, and a narrow job that is convenient to install globally.
The plasmasturm documentation says the program under test should read any number of titles from standard input, one title per line, and write corrected titles to standard output in the same form. The script also exposes a titlecase function internally and includes a -f option to force lowercasing before title-casing.
The test suite is a Perl script that can be passed a command line for invoking any program that performs title casing, making the project useful not only as a tool but also as a compatibility reference for other implementations.
titlecase matters in the package-nerd niche because it is the kind of single-file text utility that earns a package slot through reliability and provenance rather than breadth. Its value is traceable behavior: a known editorial algorithm, a test corpus, and a simple stdin/stdout interface.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
titlecase | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:titlecase |
|---|---|
| 版本 | 1.015 |
| 软件包管理器 | Homebrew |
| 主页 | http://plasmasturm.org/code/titlecase/ |
| 仓库 | https://github.com/ap/titlecase |
| Bottle | 未记录 |
| 服务 | 未声明 |
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.