echo 'some awe' | sed 's/\(some\) *\(awe\)/\2\1/g'