fip

Crates.iofip
lib.rsfip
version1.0.2
sourcesrc
created_at2023-03-13 20:35:35.383385
updated_at2023-03-14 09:06:52.899794
descriptionA Simple Field Parser, roughly emulating "awk '{print $}'"
homepage
repositoryhttps://gitlab.com/Bruschkov/fip-rust
max_upload_size
id809237
size21,280
(Bruschkov)

documentation

https://docs.rs/fip

README

fip

A Simple Command Line Field Parser, roughly emulating awk '{print $<field-number>}'. Accepts input from StdIn, produces output to StdOut. Field Number is 0-indexed.

See fip --help for more details.

Installation

cargo install fip or download from the releases pagge

Examples

  • Get Process IDs from ps aux: ps aux | fip 1
  • Get the values of the third field from a .csv-file: fip -s, 2 < file.csv
Commit count: 23

cargo fmt