--- Kaz Kylheku <[EMAIL PROTECTED]> wrote: > In article > <[EMAIL PROTECTED]>, Noel Yap > wrote: > >--- Kaz Kylheku <[EMAIL PROTECTED]> 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. Noel __________________________________________________ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
