In message <1168552067.8149.43.camel at stevo-desktop>,"Steve Wise" writes: >What's the easy way to remove trailing spaces? I seem to fat-finger >them into my patches too. using vi, :%s/ *$//g ^^ -- this is two spaces <space><space>*$ means atleast one space at the end of the line.