From 7610d3d3451946c30710b1966eb43976d8504a33 Mon Sep 17 00:00:00 2001 From: David Date: Mon, 5 Nov 2018 23:42:40 +0100 Subject: [PATCH] lolcat: add page (#2542) --- pages/common/lolcat.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pages/common/lolcat.md diff --git a/pages/common/lolcat.md b/pages/common/lolcat.md new file mode 100644 index 000000000..35980d4f8 --- /dev/null +++ b/pages/common/lolcat.md @@ -0,0 +1,19 @@ +# lolcat + +> Put a rainbow in everything you `cat` to the console. + +- Print a file to the console in rainbow colors: + +`lolcat {{path/to/file}}` + +- Print the result of a text-producing command in rainbow colors: + +`{{fortune}} | lolcat` + +- Print a file to the console with animated rainbow colors: + +`lolcat -a {{path/to/file}}` + +- Print a file to the console with 24-bit (truecolor) rainbow colors: + +`lolcat -t {{path/to/file}}`