Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lolcat: add page #2542

Merged
merged 2 commits into from
Nov 5, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions pages/common/lolcat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# lolcat

> Put a rainbow in everything you cat to console.
AnimiVulpis marked this conversation as resolved.
Show resolved Hide resolved

- Print a file to console in rainbow colors:
AnimiVulpis marked this conversation as resolved.
Show resolved Hide resolved

`lolcat {{path/to/file}}`

- Print the result of a text producing command in rainbow colors:
AnimiVulpis marked this conversation as resolved.
Show resolved Hide resolved

`{{fortune}} | lolcat`

- Print a file to console with animated rainbow colors:
AnimiVulpis marked this conversation as resolved.
Show resolved Hide resolved

`lolcat -a {{path/to/file}}`

- Print a file to console with 24-bit (truecolor) rainbow colors:
AnimiVulpis marked this conversation as resolved.
Show resolved Hide resolved

`lolcat -t {{path/to/file}}`