Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 1.07 KB

readme.md

File metadata and controls

56 lines (36 loc) · 1.07 KB

Rat

A cat clone.

Install

If you have installed dotnet:

dotnet tool install --global rat

If you have installed msc, The Turbo C# Compiler, you can try the v1.0.0, version:

git clone https://github.com/UltiRequiem/rat && cd rat && git checkout 423c4b7;
mcs Program.cs -out:rat && sudo mv rat /usr/bin/rat # Or somewhere else in $PATH

Usage

If you dont pass arguments it will print the stdin, just as cat.

rat

Using the --number flag:

rat --number Program.cs

Using the --show-ends flag:

rat --show-ends Program.cs

At the moment this options are supported:

  • --number: Number all output lines

  • --show-ends: Display "$" at the end of each line

Note

This was the first project I did in C#, practically a "Hello world".

License

This project is licensed under the MIT License.