Created
July 3, 2018 04:21
-
-
Save 132ikl/880d456531ad8009063df1092f602c66 to your computer and use it in GitHub Desktop.
for discord memes, don't use nonalpha characters or you'll break it
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
read foo | |
foo2="$(echo $foo | tr '\n' 'Ф')" | |
for (( i=0; i<${#foo}; i++ )); do | |
echo -n ":regional_indicator_${foo:$i:1}: " | |
done | tr 'Ф' '\n' | sed 's/:regional_indicator_ :/ /g' | xclip -i -sel clip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment