diff options
author | Vivia Nikolaidou | 2013-11-07 14:23:21 +0100 |
---|---|---|
committer | Vivia Nikolaidou | 2013-11-07 14:24:30 +0100 |
commit | b699c4455ecc93a4cc4d5a36ef1eb67278a3e1b8 (patch) | |
tree | e6030d476de8e8051748e782edb7bc2408406192 | |
parent | Added the duck generation module. (diff) | |
download | shbot-b699c4455ecc93a4cc4d5a36ef1eb67278a3e1b8.tar.gz shbot-b699c4455ecc93a4cc4d5a36ef1eb67278a3e1b8.tar.bz2 shbot-b699c4455ecc93a4cc4d5a36ef1eb67278a3e1b8.zip |
Added timestamp to author on quotes module.
Diffstat (limited to '')
-rwxr-xr-x | shquote.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -5,8 +5,9 @@ if [ -n "$2" ]; then OWNER=$1 LEN=`expr ${#ARGS[*]}` QUOTE=${ARGS[@]:1:$LEN} + TIMESTAMP=`date +"%Y-%m-%d %H:%M UTC %z"` - echo "${OWNER}" >> shquote.txt + echo "${OWNER} ${TIMESTAMP}" >> shquote.txt echo "${QUOTE}" >> shquote.txt #elif [ -n "$1" ]; then # TODO : quote someone |