#byte-slice #print #compatible #concatenate #format #txt #cat

app rcat

Concatenate and print files in a Rust byte slice compatible format

5 stable releases

Uses old Rust 2015

2.0.4 Mar 2, 2018
2.0.3 Aug 17, 2017
2.0.2 Feb 28, 2017

#8 in #concatenate

28 downloads per month

MIT/Apache

5KB
83 lines

rcat

Concatenate and print files in a Rust byte slice compatible format.

Install

cargo install rcat

Usage

$ cat foo.txt
Hello world! 👋🌎
$ rcat foo.txt
Hello world! \xf0\x9f\x91\x8b\xf0\x9f\x8c\x8e\n
$ rcat --quote foo.txt
b"Hello world! \xf0\x9f\x91\x8b\xf0\x9f\x8c\x8e\n"

Dependencies

~750KB