Skip to content

Instantly share code, notes, and snippets.

@bpedro
Created August 30, 2011 15:28
Show Gist options
  • Save bpedro/1181163 to your computer and use it in GitHub Desktop.
Save bpedro/1181163 to your computer and use it in GitHub Desktop.
Find today's SVN entries from <username>
#!/bin/sh
if [ "$#" -eq 0 ]; then
echo ""
echo "Find today's SVN entries from <username>"
echo ""
echo "Usage:"
echo "svn_log_user.sh <username>"
echo ""
else
svn log -r {`date "+%Y-%m-%d"`}:{`date -v+1d "+%Y-%m-%d"`} -v | sed -n "/"$1"/,/---$/ p"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment