[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 08:59:44 -0800 (PST)

--- Kaz Kylheku <address@hidden> wrote:
> In article
> <address@hidden>, Noel Yap
> wrote:
> >--- Kaz Kylheku <address@hidden> wrote:
> >>    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.
> It's your OS kernel that imposes the limitation, not
> the shell. The
> limitation is on how much argv[] and env[] crap can
> be passed to
> a child process. 
> So the backquote method will simply blow up if that
> limit is exceeded.

This is interesting.  I'll have to keep this in mind. 
But my experience is that some shells have a smaller
command line length limitation than others.  And I've
never hit a command line length limitation in the
shells I prefer.


Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games

reply via email to

[Prev in Thread] Current Thread [Next in Thread]