diff options
Diffstat (limited to 'bin/rtt-show-chat')
-rwxr-xr-x | bin/rtt-show-chat | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/rtt-show-chat b/bin/rtt-show-chat new file mode 100755 index 0000000..7d71718 --- /dev/null +++ b/bin/rtt-show-chat @@ -0,0 +1,7 @@ +#!/bin/bash +if [ -n "$1" ] +then + sqlite3 db ".mode column --wrap 40 -ww" "select time,name,message from game_chat_view where game_id=$1" | less -FX +else + echo "usage: rtt-show-chat GAME" +fi |