blob: ab0c812997434a51537079e3c8e0821775f4164e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/bash
HBAR=./bin/hbar
TEXT="Hello there"
UNIT="mb"
MAX=100
echo
for x in $(seq $MAX); do
${HBAR} -T "${TEXT}" -u ${UNIT} $x $MAX
sleep 0.01
done
${HBAR} -t -T "${TEXT}" -u ${UNIT} $x $MAX
echo 1; echo 2
for x in $(seq $MAX); do
${HBAR} -l 1 -T "${TEXT}" -u ${UNIT} $((MAX - x)) $MAX
${HBAR} -l 2 -T "${TEXT}" -u ${UNIT} $x $MAX
sleep 0.01
done
${HBAR} -l 1 -t -T "${TEXT}" -u ${UNIT} $((MAX-x)) $MAX
${HBAR} -l 2 -t -T "${TEXT}" -u ${UNIT} $x $MAX
|