summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shquote.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/shquote.sh b/shquote.sh
index 82076fb..bd53abb 100644
--- 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