I’m looking for a program that turns an ASCII string into something like the “ascii art” below:
.-"^` /`^"-. .' ___ /___ `. / /.---. .---. | // '-. ___________________________ .-' \ | | ;| /--------------------------// |; | || |_) Red Hat (_/| || / | . ; | Enterprise Linux || ; / . / | / '_ \ | ||/ / / // /_/' \ | Server Release 5.3 |/ / / // `'-__ Codename Tikanga /_/_/-'` '--------------------------'
I don’t have a matching example but I would like the string be turned into some multi line text, like:
__ __ / | / | | | | | | |--| | | |--| | | | | | |_/ |_/
for the letter H
and so on… I would like to use this to show certain warning messages, for example when the user is about to run a script that will delete the production database and so on…
Thanks!
$ figlet you want figlet _ __ _ _ _ _ _ ___ _ _ __ ____ _ _ __ | |_ / _(_) __ _| | ___| |_ | | | |/ _ | | | | / / / _` | '_ | __| | |_| |/ _` | |/ _ __| | |_| | (_) | |_| | V V / (_| | | | | |_ | _| | (_| | | __/ |_ __, |___/ __,_| _/_/ __,_|_| |_|__| |_| |_|__, |_|___|__| |___/ |___/
Check more discussion of this question.