2017-09-27 14:00:33 -04:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2024-02-28 14:47:18 -05:00
|
|
|
if [ "$*" = "quit" ]; then
|
|
|
|
exit 0
|
2018-02-08 11:56:31 -05:00
|
|
|
fi
|
2017-09-27 14:00:33 -04:00
|
|
|
|
2024-02-28 14:47:18 -05:00
|
|
|
if [ "$@" ]; then
|
|
|
|
# Override the previously set prompt.
|
|
|
|
echo -en "\x00prompt\x1fChange prompt\n"
|
|
|
|
for a in {1..10}; do
|
|
|
|
echo "$a"
|
|
|
|
done
|
|
|
|
echo "quit"
|
2018-02-08 11:56:31 -05:00
|
|
|
else
|
2024-02-28 14:47:18 -05:00
|
|
|
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"
|
2018-02-08 11:56:31 -05:00
|
|
|
|
2024-02-28 14:47:18 -05:00
|
|
|
echo -en "aap\0icon\x1ffolder\n"
|
|
|
|
echo -en "blob\0icon\x1ffolder\x1fdisplay\x1fblub\n"
|
|
|
|
echo "noot"
|
|
|
|
echo "mies"
|
|
|
|
echo -en "-------------\0nonselectable\x1ftrue\x1fpermanent\x1ftrue\n"
|
|
|
|
echo "testing"
|
|
|
|
echo "<b>Bold</b>"
|
|
|
|
echo "quit"
|
2017-09-27 14:00:33 -04:00
|
|
|
fi
|