[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: refactoring when using CVS
From: |
Noel Yap |
Subject: |
Re: refactoring when using CVS |
Date: |
Fri, 22 Feb 2002 07:20:01 -0800 (PST) |
--- Kaz Kylheku <address@hidden> wrote:
> That's terrible! What if the resulting command line
> violates the
> systems's environment passing limit? Of course, you
> want:
>
> find . -name '*.java' -print | xargs javac
>
> hopefully, none of the names contain spaces and
> newlines, but I wouldn't
> put any such stupidity past Java programmers, so
> better use GNU tools:
>
> find . -name '*.java' -print0 | xargs -0 javac
Keep in mind that since xargs has a size limit, you
may wind up doing a little more recompilation than
necessary. I prefer the back quote method under a
shell with no command length limitation and forbidding
spaces and special characters in file names.
Noel
__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com
- RE: refactoring when using CVS, (continued)
Re: refactoring when using CVS, Kaz Kylheku, 2002/02/21
Re: refactoring when using CVS, Kaz Kylheku, 2002/02/22
RE: refactoring when using CVS, Thornley, David, 2002/02/22
RE: refactoring when using CVS, Christopher Randall, 2002/02/22
RE: refactoring when using CVS, Glew, Andy, 2002/02/25
RE: refactoring when using CVS, Glew, Andy, 2002/02/25