Created
June 10, 2013 06:14
-
-
Save yjh0502/5746837 to your computer and use it in GitHub Desktop.
star.bash
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
#!/usr/bin/env bash | |
for i in `seq 5 -1 1` | |
do | |
out= | |
for j in `seq $i -1 1` | |
do | |
out=$out* | |
done | |
echo "$out" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment