rat 1.2.0

dotnet add package rat --version 1.2.0                
NuGet\Install-Package rat -Version 1.2.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="rat" Version="1.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add rat --version 1.2.0                
#r "nuget: rat, 1.2.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install rat as a Cake Addin
#addin nuget:?package=rat&version=1.2.0

// Install rat as a Cake Tool
#tool nuget:?package=rat&version=1.2.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 net6.0 is compatible.  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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

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