summaryrefslogtreecommitdiff
path: root/perf
diff options
context:
space:
mode:
authorChris Wilson <cpwilson@src.gnome.org>2007-02-05 23:22:56 +0000
committerChris Wilson <cpwilson@src.gnome.org>2007-02-05 23:22:56 +0000
commit7fb0dfdb947d98ff2aa2e01266f3517df2c24b9a (patch)
tree0323738956d6116ff51f6c9bae044ac0bd3ddf11 /perf
parente8a2e72779bf6701e10d73354818d1734d2f6d12 (diff)
Simple to script to scroll UTF-8 text.
svn path=/trunk/; revision=1630
Diffstat (limited to 'perf')
-rwxr-xr-xperf/utf8.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/perf/utf8.sh b/perf/utf8.sh
new file mode 100755
index 0000000..51d49c5
--- /dev/null
+++ b/perf/utf8.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+cnt=$1
+[ -n "$cnt" ] || cnt=6000
+
+i=0
+while [ $i -lt $cnt ]
+do
+ cat UTF-8-demo.txt
+ i=$(( $i + 1 ))
+done