/usr/src/freeswitch/src# grep -rc "\s\+$" * | grep -v ":0$"<br><br>1200+ files with trailing whitespace does seem a bit excessive, however I don't know how large a "problem" it really is. If you're going to do whitespace cleanup I recommend starting small, like with mod_rtmp.c. Run your whitespace cleanup script on just a few files, recompile them, verify that it's all good, then commit & push. I don't know about the other devs, but I would feel much more comfortable with small, controlled updates than a large sweep that does a lot of files.<br>
<br>Just my $0.02...<br><br>-MC<br><br><div class="gmail_quote">On Sat, Apr 7, 2012 at 8:49 AM, Seven Du <span dir="ltr"><<a href="mailto:dujinfang@gmail.com">dujinfang@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>cat -t mod_rtmp.c | grep I</div><div>cat mod_rtmp.c | grep " $"</div><div><br></div><div>some editors insert tabs automatically when you press enter.</div><div><br></div>
<p style="color:#a0a0a8">On Saturday, April 7, 2012 at 12:26 PM, Michael Collins wrote:</p>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px">
<span><div><div>can you show us an example of code w/ trailing whitespaces?<br>-MC<br></div></div></span></blockquote></blockquote><br></div>