euglug.org

[Eug-lug] Source Code Processing

작성자

카테고리:



Jason Van CleveTue May 3 21:15:19 PDT 2005

I'd like to process a whole bunch of source files uniformly, stripping
off any whitespace at the ends of lines and also making sure there is
exactly one newline before the EOF.  That last part may be tricky, but
is there a speedy *nix utility for getting rid of trailing whitespace,
or maybe for general source code processing?

--Jason V. C.

--
If you drink, don't park, accidents cause people.