From b69909628b42e2d063dcbdcbe7adaddf5e7ee047 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sat, 19 Mar 2022 23:30:15 +0000 Subject: proper unicode character interpretation --- test/hbar.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test/hbar.sh b/test/hbar.sh index 8d47595..71713ef 100755 --- a/test/hbar.sh +++ b/test/hbar.sh @@ -1,17 +1,18 @@ #!/bin/sh HBAR=./bin/hbar -#TEXT="Hello there" -TEXT="Привет мир" UNIT="mb" MAX=100 +TEXT="✓ Привет World Привет World Привет World Привет World Привет World Привет World " for x in $(seq $MAX); do ${HBAR} -T "${TEXT}" -u ${UNIT} $x $MAX - read + sleep 0.01 done -${HBAR} -t -T "${TEXT}" -u ${UNIT} $x $MAX +TEXT="Hello there" + +${HBAR} -t -T "${TEXT}" -u ${UNIT} $x $MAX for x in $(seq $MAX); do ${HBAR} -T "${TEXT}" -u ${UNIT} $x $MAX sleep 0.01 -- cgit v1.2.1