Help me make it shut up please!

Steve smorrey at
Fri Mar 10 12:21:23 MST 2006

Ok I tried that and got this...
steve at slomo:~/torque$ find . -type f | xargs tr -d '\r'
tr: too many arguments
Try `tr --help' for more information.
tr: too many arguments
Try `tr --help' for more information.

And yes GCC is really complaining....

In file included from ./math/mathTypes.h:10,
                 from ./math/mMath.h:38,
                 from ./collision/convex.h:10,
                 from ./interior/interior.h:38,
                 from interior/
./console/dynamicTypes.h:106:7: warning: no newline at end of file

So I open up the file and sure enough the very last line is

On 3/10/06, Bryan Sant <bryan.sant at> wrote:
> On 3/10/06, Steve <smorrey at> wrote:
> > So here I am with a clean pull from CVS, I have bash, perl, ruby and
> > even PHP on my box.
> >
> > Can someone help me here?  Would this be a job for perl or bash
> > scripting or what, and how would I go about doing it?  My scriptfu
> > sucks terribly BTW, so if anyone has an example that should do the
> > trick please let me know.
> >
> > Thanks in advance.
> What *is* at the end of each line?  I would have thought that the end
> of each line ends with \r\n as is typical on Windows systems.  Does
> GCC really complain about that?  Well, anyway, to get rid of the \r
> and just have the \n at the end do this in your build root:
> find . -type f | xargs tr -d '\r'
> This should delete all \r from every file (leaving only the \n at the
> end of a line) in your directory structure.
> -Bryan
> /*
> PLUG:, #utah on
> Unsubscribe:
> Don't fear the penguin.
> */

More information about the PLUG mailing list