2025-03-14 21:59:59 -06:00
|
|
|
# lolcat
|
|
|
|
|
|
|
|
|
|
> Put a rainbow in everything you `cat` to the console.
|
|
|
|
|
> More information: <https://github.com/busyloop/lolcat>.
|
|
|
|
|
|
|
|
|
|
- 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`
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- Use a seed to generate consistent colors (default: `0` as in random):
|
|
|
|
|
|
|
|
|
|
`lolcat {{[-S|--seed]}} {{number}} {{path/to/file}}`
|
|
|
|
|
|
|
|
|
|
- Control rainbow frequency (default: `0.1`):
|
|
|
|
|
|
|
|
|
|
`lolcat {{[-F|--frequency]}} {{number}} {{path/to/file}}`
|
|
|
|
|
|
|
|
|
|
- Control rainbow smoothing (default: `3`):
|
|
|
|
|
|
|
|
|
|
`lolcat {{[-p|--spread]}} {{number}} {{path/to/file}}`
|
|
|
|
|
|
2025-03-14 21:59:59 -06:00
|
|
|
- Print a file to the console with animated rainbow colors:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`lolcat {{[-a|--animate]}} {{path/to/file}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Print a file to the console with 24-bit (truecolor) rainbow colors:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`lolcat {{[-t|--truecolor]}} {{path/to/file}}`
|