Created
April 23, 2018 20:27
-
-
Save timjstewart/de9de47a0d86c2fc1318580a7399c544 to your computer and use it in GitHub Desktop.
Turns text into an ASCII text comment.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# Makes an ASCII art rendition of the arguments and embeds it in a '#' comment. | |
# Requires figlet (e.g. homebrew install figlet) | |
# Only uses '#' comment style. Your JavaScript and C++ will not be happy. | |
figlet -w 80 -c $* | sed 's/^/#/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment