rust-cat

Crates.iorust-cat
lib.rsrust-cat
version0.2.0
sourcesrc
created_at2021-08-06 18:42:36.766604
updated_at2021-08-06 18:42:36.766604
descriptionA Rust rewrite of UNIX cat
homepage
repository
max_upload_size
id432545
size46,184
Pranav B (Blaze2305)

documentation

README

Cat

A UNIX style cat remake with rust, mainly for windows and other environments where cat isn't available. This isnt the whole implementation of cat, I'm doing this to learn rust and might add all the features in the future soon

This requires the rust toolchain, mainly cargo.

Builing and running

Clone the project and then run

   $ cd cat && cargo install --path .  

or you can do

    $ cargo install --git https://github.com/Blaze2305/cat

This builds the binary for your architecture and stores in ~/.cargo so that you can use it throughout your system.

Usage

    cat [FLAGS] [FILES]...
    FLAGS:
	    - -h, --help               Prints help information
	    - -n, --num                print the line number for each file
	    - -b, --number-nonblank    number non empty output lines, overrides -n
	    - -E, --show-ends          Show $ at the end of each line
	    - -t, --show-tabs          sdiaply TAB characters as ^I
	    - -s, --squeeze-blank      suppress repeated empty output lines
	    - -V, --version            Prints version information
    
    ARGS:
       - <FILES>...    List of files to cat
Commit count: 0

cargo fmt