xsv 高性能 CSV 工具包
xsv is a fast CSV command-line toolkit written in Rust by Andrew Gallant (BurntSushi). It provides indexing, slicing, analyzing, splitting, joining, searching, sampling, and statistics operations on CSV files with exceptional speed and memory efficiency.
Installation
Use the upstream install or setup path that matches your environment:
- $ brew install xsv
- cargo install xsv
- git clone git://github.com/BurntSushi/xsv
- cargo build --release
Basic usage or getting-started notes:
-
search - Run a regex over CSV data. Applies the regex to each field
-
So, this command takes about 12 seconds to run on my machine, but we can speed
-
be parsed. For example, let's say you wanted to grab the last 10 records:
-
Source: https://github.com/1991513ccie-png/skills
-
Extracted from upstream docs: https://raw.githubusercontent.com/BurntSushi/xsv/HEAD/README.md
微信扫一扫