2017-09-27 18:00:33 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2018-02-08 16:56:31 +00:00
|
|
|
if [ x"$@" = x"quit" ]
|
|
|
|
then
|
|
|
|
exit 0
|
|
|
|
fi
|
2017-09-27 18:00:33 +00:00
|
|
|
|
2018-02-08 16:56:31 +00:00
|
|
|
if [ "$@" ]
|
2017-09-27 18:00:33 +00:00
|
|
|
then
|
2018-02-08 16:56:31 +00:00
|
|
|
for a in {1..10}
|
|
|
|
do
|
|
|
|
echo "$a"
|
|
|
|
done
|
|
|
|
echo "quit"
|
|
|
|
else
|
|
|
|
echo -en "\x00prompt\x1ftesting\n"
|
|
|
|
echo -en "\0urgent\x1f0,2\n"
|
|
|
|
echo -en "\0active\x1f1\n"
|
|
|
|
echo -en "\0markup-rows\x1ftrue\n"
|
|
|
|
echo -en "\0message\x1fSpecial <b>bold</b>message\n"
|
|
|
|
|
|
|
|
echo "aap"
|
|
|
|
echo "noot"
|
|
|
|
echo "mies"
|
|
|
|
echo "testing"
|
|
|
|
echo "<b>Bold</b>"
|
|
|
|
echo "quit"
|
2017-09-27 18:00:33 +00:00
|
|
|
fi
|