Archived
1
0
Fork 0

Added timestamp to author on quotes module.

This commit is contained in:
Vivia Nikolaidou 2013-11-07 14:23:21 +01:00
parent 2f80a68b1f
commit b699c4455e

View file

@ -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