- You need a raw dump of
lolcatcolorized output that includes the ANSI escape sequences for the colors. - You need this dump saved to a file.
Pipe your output through lolcat, use the --force flag and then redirect the output to a file.
-
Capture a raw dump of the output of a bash script piped through
lolcatto the filecolors.txtbash my-script.sh | lolcat --force > colors.txt
-
Capture a raw dump of the output an
echocommand piped throughlolcatto the filecolors.txtecho -n "foobarbaz" | lolcat --force > colors.txt
-
Dial in
lolcatoutput how you want it using the--seedoption and then once you like what you see pipe it to a fileecho -n "gitpod-laravel-starter UPDATER" | lolcat --spread 0.1 --seed 5141 --freq .0048echo -n "gitpod-laravel-starter UPDATER" | lolcat --spread 0.1 --seed 5141 --freq .0048 --force > colors.txt
noice 👍