fcc

Crates.io Linux build status Windows build status

fcc is a command line program for concatenating files (with some advanced options). Besides, it also provides a library that exposes the same functionality at the command line.

Example of command line utility

Assumes we have three tabular csv files that contain identical headers. We want to join all the contents of them and preserve only one header (-H). Meanwhile, we want to make sure all files should end with a newline (-n).

bash find [1-3].csv | fcc -nH

or

bash fcc -nH -i 1.csv 2.csv 3.csv

will result the following

(header) (contents of 1.csv) (contents of 2.csv) (contents of 3.csv)

See fcc --help for more help information.

Documentation

For detailed documentation, see https://docs.rs/fcc.

Installation

Binaries for Windows, Linux and macOS are available from Github.

You can also compile the binary from source using Cargo:

bash git clone git://github.com/mapkts/fcc cd fcc cargo build --release Compilation will probably take a few minutes depending on your machine. The binary will end up in ./target/release/fcc.

License

fcc is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See the LICENSE-APACHE and LICENSE-MIT files in this repository for more information.