Projects

rcat

Command Line Interface
cat
Rust

rcat - A Rust Implementation of "cat"

Demonstration of all the possible commands that rcat has to offer.

An implementation of the Linux command line tool “cat”, written in Rust.

Usage: rcat [OPTIONS] [FILE]

OPTIONS:

KEYWORDDescription
-f, —filenames, —filenameDisplay the filenames
-n, —numberNumber all the output lines
-l, —newlinePrints a newline after each file
-?, —helpDisplay this help and exit

One of my early projects in Rust that truly captivated me and deepened my love for the language was my personal reimplementation of the “cat” tool. In Unix-based terminals, “cat” is widely used to display the contents of a file. I recreated this tool in Rust, incorporating additional options and the ability to concatenate multiple files in a single command execution. You can explore the repository here.