1 2 3 4 5 6 7
#/bin/bash svn status | grep '^?' | sed -e 's/^?//' if [ "${1}" = "do" ]; then svn status | grep '^?' | sed -e 's/^?//' | xargs svn add fi