Created
January 15, 2023 17:46
-
-
Save compscitwilight/f7945040fd41e8cf6a1216bab283691e to your computer and use it in GitHub Desktop.
A bash script that shows a certain pony using ponysay.
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
# written by github:devrusty | |
# January, 15, 2023 | |
PONY=twilight; | |
MSG="close this window for more PONY"; | |
COUNT=10; | |
PONIES=("Twilight" "Applejack" "Pinkie" "Fluttershy" "Rarity" "Rainbow Dash" "Celestia" "Luna" "Cadance" "Flurryheart"); | |
function createPonyWindow { | |
xterm -bg black -hold -e ponysay -f $PONY $MSG; | |
} | |
for pony in ${PONIES[@]}; | |
do | |
PONY=$pony; | |
echo $PONY; | |
createPonyWindow; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment