# 使用 Homebrew, zypper 安装 csvprintf

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

## 安装

```sh
sudo av install brew:csvprintf
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install csvprintf
```

  证据: local Homebrew formula metadata

### Linux

- zypper (92%):

```sh
sudo zypper install csvprintf
```

  证据: openSUSE Tumbleweed package metadata: csvprintf from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:csvprintf
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/csvprintf>
- **版本:** 1.3.4
- **来源摘要:** Command-line utility for parsing CSV files
- **主页:** <https://github.com/archiecobbs/csvprintf>
- **仓库:** <https://github.com/archiecobbs/csvprintf>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/archiecobbs/csvprintf/archive/refs/tags/1.3.4.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- csvprintf (cli)
- xml2csv (cli)
- csvprintf (别名)
- xml2csv (别名)

## 构建依赖

- autoconf
- automake

## macOS 提供的库

- libxslt

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.3.4
- 本地数据: OK
- 上游仓库: https://github.com/archiecobbs/csvprintf
- 检测到的最新版本: 1.3.4 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

csvprintf is a small Unix-style command-line utility for parsing CSV records and formatting each record through printf-like format strings. It also includes XML, JSON text sequence, Bash assignment, and XML-to-CSV workflows.

### 项目历史

The project's official change log records an initial 1.0 release on November 30, 2010. Its early 1.0.x line focused on CSV edge cases and XML conversion, while later releases added named column accessors, Bash output, JSON text sequences, and fixes for column-name handling.

### 采用历史

csvprintf has a narrower package footprint than the larger CSV toolkits in this batch, but the input package facts identify it in Homebrew and openSUSE zypper. Its appeal is the traditional Unix model: a compact filter that can sit in shell pipelines and produce formatted text or machine-readable output.

### 使用方式

The upstream README shows csvprintf being used like printf for CSV rows: users provide a format string, reference columns by position or name, and stream CSV from stdin. The same tool can emit XML and other structured forms when a pipeline needs a quick conversion step.

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

csvprintf matters as an example of the single-purpose C/Unix utility lineage applied to CSV. It is not a spreadsheet replacement or SQL layer; it is a formatter and converter that fits package-manager ecosystems because it builds and installs like a conventional command-line program.

### 时间线

- 2010: Version 1.0 initial release.
- 2013: Version 1.0.3 added XML back-to-CSV conversion.
- 2021: Versions 1.2.0 and 1.3.0 added JSON text sequence and Bash output modes.
- 2026: Version 1.3.4 added column-name format accessors.

### Related projects

- csvprintf is adjacent to csvkit-style conversion tools and shell formatters, but its official documentation emphasizes printf-style row formatting rather than a broad subcommand suite.

### 来源

- <https://github.com/archiecobbs/csvprintf#readme>
- <https://github.com/archiecobbs/csvprintf/blob/master/CHANGES>
- <https://github.com/archiecobbs/csvprintf/wiki/ManPage>
- <https://formulae.brew.sh/formula/csvprintf>


## 安全说明

narrow executable package without higher-risk signals.

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

## 源数据库详情

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

## 其他软件包管理器记录

- zypper - csvprintf - 1.3.4-1.4: normalized package name match | openSUSE Tumbleweed package metadata: csvprintf from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Simple CSV file parser for the UNIX command line | https://github.com/archiecobbs/csvprintf


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control 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.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [autoconf](https://pkg.so/zh-hans/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://pkg.so/zh-hans/brew/automake/) - Build dependency declared by Homebrew.
- [csview](https://pkg.so/zh-hans/brew/csview/) - Shares pkgdb curated category or tags: cli, csv, data-tools, developer-tools.
- [shyaml](https://pkg.so/zh-hans/brew/shyaml/) - Shares pkgdb curated category or tags: cli, data-tools, developer-tools, parser.
- [sbjson](https://pkg.so/zh-hans/brew/sbjson/) - Shares pkgdb curated category or tags: cli, data-tools, developer-tools, parser.
- [expat](https://pkg.so/zh-hans/brew/expat/) - Shares pkgdb curated category or tags: cli, developer-tools, parser, xml.
- [jq](https://pkg.so/zh-hans/brew/jq/) - Shares pkgdb curated category or tags: cli, data-tools, developer-tools.
- [yq](https://pkg.so/zh-hans/brew/yq/) - Shares pkgdb curated category or tags: cli, csv, developer-tools, xml.
- [libxml2](https://pkg.so/zh-hans/brew/libxml2/) - Shares pkgdb curated category or tags: cli, developer-tools, parser, xml.
- [urdfdom](https://pkg.so/zh-hans/brew/urdfdom/) - Shares pkgdb curated category or tags: cli, developer-tools, parser, xml.

## Combined YAML source

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


## 来源

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