Skip to content

Instantly share code, notes, and snippets.

@jonasbits
Created February 12, 2015 01:16
Show Gist options
  • Save jonasbits/6d4ee8f97039db91e9d9 to your computer and use it in GitHub Desktop.
Save jonasbits/6d4ee8f97039db91e9d9 to your computer and use it in GitHub Desktop.
I am lazy, lets make the computer do the work.
#!/bin/bash
TID=$(date "+%H:%M")
DOTPROJECT=$(cat .project)
DOTPLAN=$(cat .plan)
#TODO grep time from this day in .plan
echo "Hej,"
echo "Jag har jobbat �ver."
#iconv -f utf-8 -t iso-8859-1
echo ""
echo "Anst�llningsnummer: " $DOTPROJECT
#iconv -f utf-8 -t iso-8859-1
echo "Jag skulle ha slutat: " $DOTPLAN
echo "Jag loggade ut klockan: " $TID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment