man: reformatted examples

Also while here removed trailing spaces.