Archived
1
0
Fork 0

Merge pull request #2 from vivia/master

Added timestamp to author on quotes module.
This commit is contained in:
Julien Dessaux 2013-11-10 09:58:07 +01:00
commit 1e2d74064e

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