For convenience, I've created an alias to svn rm all deleted files in my working copy:
alias svnrmall="svn status | grep '^\!' | awk '{print \$2}' | xargs svn rm" This works quite well, except when the filename contains a space character.
An easy solution to the problem seems to be to have awk enclose each file path in single quotes, but I'm having difficulty figuring out how to do that.
E.g., something like this (except this results in an error: "invalid char ''' in expression"):
alias svnrmall="... | awk \"{print '\$2'}\" | ..."
grep, awk can do pattern matchingawk '/pattern/ {print $2}'you can do it by field tooawk '$2~/pattern/ {print $2}'