summaryrefslogtreecommitdiff
path: root/tests/intl1.sub
blob: a03648fb51b4a634b51f095569688b186e2cfd76 (plain)
1
2
3
4
5
6
7
8
9
10
11
LC_ALL=en_US.UTF-8
LANG=en_US.UTF-8

var='абвгдежзиклмноп '
echo -"$var"- ${#var}

read foo <<< "$var"
echo -"$foo"- ${#foo}

read -n 5 foo <<< "$var"
echo -"$foo"- ${#foo}