A cat clone.
If you have installed
dotnet:
dotnet tool install --global ratIf 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 $PATHIf you dont pass arguments it will print the stdin, just as cat.
rat
Using the --number flag:
rat --number Program.csUsing the --show-ends flag:
rat --show-ends Program.csAt the moment this options are supported:
-
--number: Number all output lines -
--show-ends: Display "$" at the end of each line
This was the first project I did in C#, practically a "Hello world".
This project is licensed under the MIT License.