# 使用 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
- **版本:** 1.3.4
- **来源摘要:** Command-line utility for parsing CSV files
- **主页:** <https://github.com/archiecobbs/csvprintf>
- **仓库:** <https://github.com/archiecobbs/csvprintf>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

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

- 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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
