#cat #unix #naive #input #file #standard #cate

app rust-cate

cat in Rust - cate, concatenate FILE(s), or standard input, to standard output. Very naive implementation.

4 releases

Uses old Rust 2015

0.1.3 Jan 2, 2017
0.1.2 Sep 30, 2016
0.1.1 Sep 29, 2016
0.1.0 Sep 29, 2016

#24 in #naive

Unlicense

7KB
134 lines

rust-cate

[Crates.io (https://img.shields.io/crates/v/rust-cate.svg)](https://crates.io/crates/rust-cate)

cat in rust, you know, cate.

Also, in Rust we trust.

Disclaimer: this is not a complete reimplementation of cat in rust, it is very very naive implementation that may misbehave. Just like a cate would.

Example

$ echo "Some nice text" > myfile.txt
$ cate myfile.txt
Some nice text

$ cate cate
   _
   \`*-.
    )  _`-.
   .  : `. .
   : _   '  \
   ; *` _.   `*-._
   `-.-'          `-.
     ;       `       `.
     :.       .        \
     . \  .   :   .-'   .
     '  `+.;  ;  '      :
     :  '  |    ;       ;-.
     ; '   : :`-:     _.`* ;
  .*' /  .*' ; .*`- +'  `*'
  `*-*   `*-*  `*-*'

Dependencies

~1.5MB
~24K SLoC