Created
August 30, 2011 15:28
-
-
Save bpedro/1181163 to your computer and use it in GitHub Desktop.
Find today's SVN entries from <username>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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