Using awk

Basic syntax:

awk <search pattern> {<program actions>}

Examples:

svn st | awk '/^\?/ {print $2}'          # print names of unknown svn files
ps -A | awk '{print $1}'                 # print all pids