This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Trailing whitespace removal patch for manual


On Sat, Feb 23, 2002 at 02:38:38PM +0100, Florian Weimer wrote:
> "Joseph S. Myers" <jsm28@cam.ac.uk> writes:
> 
> > This patch removes trailing whitespace (again) from the manuals in
> > gcc/doc.  It passes "make info" and "make dvi".  Applied to mainline.
> >
> > Should trailing whitespace in general be removed from the whole source
> > tree (except for the cpp testsuite)?
> 
> Only if lack of whitespace it is enforced mechanically on commit (or
> during make).  Otherwise, trailing whitespace will be introduced
> pretty soon again.

"make nowhitespace" perhaps?  Removing trailing whitespace is a one-liner
with a recent version of sed(1).  Looping over the source files and applying
sed would be trivial.

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]