# 使用 Homebrew 安装 cf

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

## 安装

```sh
sudo av install brew:cf
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cf
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:cf
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/cf>
- **版本:** 1.2.8
- **来源摘要:** Filter to replace numeric timestamps with a formatted date time
- **主页:** <https://ee.lbl.gov/>
- **上游文档:** <https://ee.lbl.gov/downloads/cf>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://ee.lbl.gov/downloads/cf/cf-1.2.8.tar.gz>
- **已生成:** 2026-07-25T07:20:51+00:00

## 可执行文件

- cf (cli)
- cf (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-25
- 管理器版本: 1.2.8
- 本地数据: OK
- 上游仓库: https://ee.lbl.gov/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

cf is a small Unix command-line filter from Lawrence Berkeley National Laboratory for replacing numeric timestamps at the beginning of input lines with formatted dates. Its manual page documents stdin/file filtering, strftime formatting, UTC output, strict timestamp checking, and preservation of sub-second timestamp data.

### 项目历史

The distributed source archive carries a BSD-style University of California copyright covering 2004, 2005, 2006, 2009, and 2014. The CHANGES file records v1.1 in 2004 as the first autoconf version, v1.2.1 in 2006 adding CFTIMEARGS, and later maintenance releases through v1.2.8 in 2024.

### 采用历史

cf appears in this batch as a Homebrew formula and is distributed directly from LBL's download directory as versioned tarballs. Its packaging value is as a tiny log-processing utility rather than a large upstream ecosystem.

### 使用方式

cf is used in pipelines that need human-readable timestamps in log-like text. It reads named files or stdin, replaces leading epoch timestamps, honors CFTIMEARGS as default flags when no command-line flags are specified, and supports custom strftime formats.

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

This is the kind of small, old-school Unix filter package that survives because it does one job cleanly. It is package-nerd interesting precisely because the upstream is a versioned source tarball with a manpage and CHANGES file, not a modern hosted repository.

### 时间线

- 2004: v1.1 recorded as the first autoconf version.
- 2006: v1.2.1 released with CFTIMEARGS support.
- 2014: v1.2.5 maintenance release updated install and copyright details.
- 2024: v1.2.7 and v1.2.8 released.

### Related projects

- The cf(1) manual page lists hf(1) and strftime(3) as related interfaces.

### 来源

- <https://ee.lbl.gov/>
- <https://ee.lbl.gov/downloads/cf>
- <https://formulae.brew.sh/api/formula/cf.json>


## 安全说明

没有找到 cf 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

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


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://www.automicvault.com/zh-hans/pkg/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [datamash](https://www.automicvault.com/zh-hans/pkg/brew/datamash/) - Shares av.db curated category or tags: cli, data, text-processing.
- [filebeat](https://www.automicvault.com/zh-hans/pkg/brew/filebeat/) - Shares av.db curated category or tags: cli, data, logs.
- [fluent-bit](https://www.automicvault.com/zh-hans/pkg/brew/fluent-bit/) - Shares av.db curated category or tags: cli, data, logs.
- [flume](https://www.automicvault.com/zh-hans/pkg/brew/flume/) - Shares av.db curated category or tags: cli, data, logs.
- [logstash](https://www.automicvault.com/zh-hans/pkg/brew/logstash/) - Shares av.db curated category or tags: cli, data, logs.
- [loki](https://www.automicvault.com/zh-hans/pkg/brew/loki/) - Shares av.db curated category or tags: cli, data, logs.
- [victorialogs](https://www.automicvault.com/zh-hans/pkg/brew/victorialogs/) - Shares av.db curated category or tags: cli, data, logs.
- [activemq](https://www.automicvault.com/zh-hans/pkg/brew/activemq/) - Shares av.db curated category or tags: cli, data.
- [heading-case](https://www.automicvault.com/zh-hans/pkg/npm/heading-case/) - Local package facts share a topical domain. Shared terms: cli, data, processing, text, text-processing.
- [levenshtein-edit-distance](https://www.automicvault.com/zh-hans/pkg/npm/levenshtein-edit-distance/) - Local package facts share a topical domain. Shared terms: cli, data, processing, text, text-processing.

## Combined YAML source

View the package source record on GitHub. [combined/cf.yml](https://github.com/automic-vault/db/blob/main/combined/cf.yml)


## 来源

- Nucleus package database
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
