No, it is not about the wc command.

toilet is a CLI tool that turns text into ASCII art. It simply means using text characters to draw graphics. Why? Because it is fun.

You could use toilet to add an ASCII art banner to fancy up your script.

Install

Arch Linux:

sudo pacman -S toilet

Ubuntu/Debian:

sudo apt install toilet

If toilet isn’t found in your package manager, then you could try with figlet instead.

Usage

To ASCIIfy a string:

toilet "Hello World"

Example output:

Sample toilet output

Same, but from stdin:

echo "Hello World" | toilet

Using a color filter:

toilet --metal "Hello World"

With a different font:

toilet -f emboss "Hello World"

See what font options are available

ls /user/share/figlet

Challenge

Use what you learned so far to write a script that prints the lyrics to “The Twelve Days of Christmas” with either toilet or figlet.