Created
March 3, 2018 02:51
-
-
Save aidanharris/8c589730d902269d1c8ba0f16d3356b4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
for i in $(seq 1 ${#@}) | |
do | |
for j in $(seq 1 $(eval printf "\${#$i}")) | |
do | |
echo -e ":regional_indicator_$(eval printf "\${$i:$((${j}-1)):1}"):" | |
done | |
echo -e " " | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment