From b699c4455ecc93a4cc4d5a36ef1eb67278a3e1b8 Mon Sep 17 00:00:00 2001 From: Vivia Nikolaidou Date: Thu, 7 Nov 2013 14:23:21 +0100 Subject: Added timestamp to author on quotes module. --- shquote.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shquote.sh b/shquote.sh index 82076fb..bd53abb 100755 --- a/shquote.sh +++ b/shquote.sh @@ -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 -- cgit v1.2.3