bash alias command with both single and double quotes
You just need to escape it correctly.
alias xxx="svn status | awk '\$1 ==\"M\"{print \$2;}'"
Here's something that accomplishes the same thing without using an alias. Put it in a function in your .bashrc:
xx() {
svn status | awk '$1 =="M"{print $2;}'
}
This way you don't have to worry about getting the quotes just right. This uses the exact same syntax you would at the command line.