On Wed, 27 Jul 2005, Ralf Baechle wrote: > Well, here's my nuke-trailing-whitespace skript. Pretty small - 80% of it > is the legalese and a brief comment. In case you're using quilt you > can do something like > > nuke-trailing-whitespace `quilt files` > quilt refresh --diffstat > > to clean a particular patch It doesn't wipe other rubbish like spaces followed by tabs, though -- e.g. ones that would match "^ \t". Perhaps `indent' could help with them, but I trust my fingers and eyes instead. ;-) Maciej