bash: shortest way to get n-th column of output

You can use cut to access the second field:

cut -f2

Edit:
Sorry, didn’t realise that SVN doesn’t use tabs in its output, so that’s a bit useless. You can tailor cut to the output but it’s a bit fragile – something like cut -c 10- would work, but the exact value will depend on your setup.

Another option is something like: sed 's/.\s\+//'

Leave a Comment