Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

meow

A Rust implementation of cat with CLI argument parsing using clap.

Installation

Clone the repository and build the project:

git clone https://github.com/kiemonbb/meow.git
cd meow
cargo build --release

Usage

meow [FLAGS] [INPUT_FILES]...

FLAGS:

  • -n, --number - Show line numbers for all lines.
  • -b, --blank - Do not show line numbers for blank lines.
  • -s, --sus - Do not display error message if the program cannot find an input file
  • -h, --help - Display help message.

Examples:

  1. To display a file, enter:
meow file
  1. To concatenate several files, enter:
meow file1 file2 > file3
  1. To append one file to the end of another, enter:
meow file1 >> file2
  1. To add text to the end of a file, enter:
meow >> file

TODO

  • improve error messages and error handling
  • add more flags

About

my implementation of cat command

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages