delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/06/24/17:17:47

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: B20 (NT) xargs creates multiple commands, not just one
References: <004d01bebe7b$35f6e3a0$3b01000a AT teleran DOT com>
From: Ian T Zimmerman <itz AT lbin DOT com>
Date: 24 Jun 1999 21:15:48 +0000
In-Reply-To: "BigFred"'s message of "Thu, 24 Jun 1999 15:50:38 -0400"
Message-ID: <87gc0p5b4z.fsf@amazon.lbin.com>
Lines: 34
X-Mailer: Gnus v5.6.45/XEmacs 21.0(beta67) - "20 minutes to Nikko"

"BigFred" <bigfred AT geocities DOT com> writes:

> I'm trying to use a script using xargs to create a JAR file in
> java.....
> 
> xargs issues multiple JAR commands apparently due to the number of
> files being passed to it.
> 
> each time JAR is executed it clears out the previous files already
> added.
> 
> i really need all the files included in one JAR command.
> 
> is there anyway to increase whatever buffer is being blown which
> causes xargs to execute multiple commands?

"man xargs" sez:

       --max-chars=max-chars, -s max-chars
              Use  at most max-chars characters per command line,
              including the command and initial arguments and the
              terminating  nulls  at  the  ends  of  the argument
              strings.  The default is as large as  possible,  up
              to 20k characters.

If the default is lower for Cygwin, it's probably for a good reason,
though.  You can't go wrong by checking the source ...

OH and BTW, the HTML formatted mail is a headache.

-- 
Ian Zimmerman
Lightbinders, Inc.
2325 3rd Street #324, San Francisco, California 94107


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019