A
catcommand with syntax highlight.
A
catcommand that almost tastes like chocolate!
- C++ Compiler: GNU GCC or Clang LLVM
- Boost.Regex
- CMake
Example on Ubuntu:
sudo apt update
sudo apt install build-essential cmake libboost-regex-devgit clone http://github.com/terroo/kat build-kat
cd build-kat
cmake -B build .
cmake --build build
sudo cmake --install buildExamples
kat main.cpp # C++ file
kat main.c # C file
kat MyClass.java # Java file
kat script.py # Python file
kat index.js # JavaScript file
kat Main.cs # C# file
kat file.txt # Text file
kat --help- ✔ C++
- ✔ C
- ✔ Java
- ✔ Python
- ✔ JavaScript
- ✔ C#
- ✔ Go/Golang
- ✔ Ter/Terlang
- ✔ SH/Bash
- ✔ Swift
Note: This repository is still under development and does not yet support all languages and file types. If you want us to speed up the implementation of your language/file, please notify us in issues