rat 1.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global rat --version 1.1.0                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local rat --version 1.1.0                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=rat&version=1.1.0                
nuke :add-package rat --version 1.1.0                

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.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.2.0 261 12/17/2021
1.1.0 335 10/26/2021
1.0.0 343 10/26/2021