Created
May 23, 2016 19:24
-
-
Save dbb/979328d62d07c9cb411fbb48d3c4406d 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
utftest() { | |
if [[ -z $1 ]]; then | |
low=21 | |
else | |
low=$1 | |
fi | |
if [[ -z $2 ]]; then | |
high=1000 | |
else | |
high=$2 | |
fi | |
teststring="" | |
for i in {$low..$high}; do | |
teststring="${teststring} $(print \\u$i)" | |
done | |
print "${teststring}\n" | |
teststring="" | |
low="" | |
high="" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment