Last active
August 29, 2015 14:15
-
-
Save cjgk/b1cec59e466a0c2f7ec5 to your computer and use it in GitHub Desktop.
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
for n in 1 2 3 4 5 4 3 2 1; do | |
for x in $(eval echo {1..$((6-n))}); do printf '-'; done | |
for x in $(eval echo {1..$n}); do printf '++'; done | |
for x in $(eval echo {1..$((6-n))}); do printf '-'; done | |
echo ''; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment