diff options
author | Julien Dessaux | 2013-11-10 09:58:07 +0100 |
---|---|---|
committer | Julien Dessaux | 2013-11-10 09:58:07 +0100 |
commit | 1e2d74064e26e327935f4bb38e575807aeeb7570 (patch) | |
tree | 689bf64283971abd3783a18a3b909088ffe93e64 | |
parent | Added help message for duck command (diff) | |
parent | Added timestamp to author on quotes module. (diff) | |
download | shbot-1e2d74064e26e327935f4bb38e575807aeeb7570.tar.gz shbot-1e2d74064e26e327935f4bb38e575807aeeb7570.tar.bz2 shbot-1e2d74064e26e327935f4bb38e575807aeeb7570.zip |
Added timestamp to author on quotes module.
-rw-r--r-- | 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 |