summaryrefslogtreecommitdiff
path: root/kanbanscripts/starttask.sh
blob: ae139499e47af6abe293db2edefeb91c5f42f900 (plain)
1
2
3
4
5
6
7
8
9
#! /bin/sh
FILENAME="$1"
echo $FILENAME
echo "@started:$(date '+%Y-%m-%d')" >> "$FILENAME" 
if [ $# -eq 3 ]
  then
      printf "$3" >> "$FILENAME"
fi
mv {,qq\ }"$FILENAME"