Skip to content

Instantly share code, notes, and snippets.

@haochong
haochong / gist:4690357
Created February 1, 2013 09:35
Mac OSX Bash Script to print the svn log committed by specific user this week
#!/bin/bash
split=""
monday=`date -v-Monday "+%Y-%m-%d"`
friday=`date -v+Friday "+%Y-%m-%d"`
userlen=`echo "$1" | wc -c`
printlen=$((userlen+38))
for (( i=0; i<= $printlen; i++ ))
do