Fwd: Re: RFR(xxs): 8072935: Fix missing newline at end of file after 8067447

Martin Buchholz martinrb at google.com
Fri Feb 13 06:49:18 UTC 2015


Source files should have exactly one trailing newline.

find -iregex '.*\.\(java\|txt\|c\|cc\|h\|hpp\|cpp\)$' | xargs perl -0777
-ne 'print "Must have exactly one trailing newline: $ARGV\n" unless
m~[^\n]\Z~s'



More information about the build-dev mailing list