B20 (NT) xargs creates multiple commands, not just one

John Wiersba John.Wiersba@medstat.com
Wed Jun 30 22:10:00 GMT 1999


http://cygutils.netpedia.net/infozip.html has pretty good help for building
zip/unzip for cygwin(although I had to fiddle around a bit to get things to
compile properly).  See also franken.de for essentially the same info.  You
can also use pkzip on Windows or DOS.

-- John

> -----Original Message-----
> From: Ajit George [ mailto:gajit@kurianinc.com ]
> Sent: Thursday, June 24, 1999 8:01 PM
> To: Randall Schulz; cygwin@sourceware.cygnus.com
> Subject: RE: B20 (NT) xargs creates multiple commands, not just one
> 
> 
> You don't even need to port it - the zip tools will build 
> under MSDOS.  As
> far as I know, they're not GNU tools though.  You can find 
> the source, and
> probably DOS binaries as well, at
> 
> http://www.cdrom.com/pub/infozip/
> 
> Ajit
> 
> -----Original Message-----
> From:	Randall Schulz [ mailto:rschulz@teknowledge.com ]
> Sent:	Thursday, June 24, 1999 6:25 PM
> To:	Ajit George; cygwin@sourceware.cygnus.com
> Subject:	RE: B20 (NT) xargs creates multiple commands, 
> not just one
> 
> Hi,
> 
> You should be aware that the JAR file format is identical to 
> the ZIP file
> format (also known as WinZIP after the popular program of 
> that name for
> Windows). You can always use the Gnu "zip," "unzip" and 
> "zipinfo" programs
> (*not* gzip and gunzip!) to get the full range of JAR/ZIP file
> functionality.
> 
> The only thing you might need that zip/unzip cannot 
> accomodate is the "jar"
> command's generation of a manifest file.
> 
> Unfortunately, my user tools installation of Cygwin does not seem to
> include the zip family of programs, but they are present on 
> my RedHat Linux
> 5.1 x86 installation.
> 
> Presumably they could be ported to cygwin without undue 
> exertion, right?
> 
> Randy Schulz
> Teknowledge Corp.
> Palo Alto, CA USA
> 
> 
> At 02:53 PM 6/24/99 , Ajit George wrote:
> This isn't a Cygwin issue -- I had this problem using jar 
> under Linux as
> well.  I don't remember exactly why, but I came to the 
> conclusion that jar
> creates a new archive each time it's invoked.  It doesn't add files to
> existing archives.
> 
> Ajit
> -----Original Message-----
> From: cygwin-owner@sourceware.cygnus.com
> [ mailto:cygwin-owner@sourceware.cygnus.com]On Behalf Of BigFred
> Sent: Thursday, June 24, 1999 2:51 PM
> To: cygwin@sourceware.cygnus.com
> Subject: B20 (NT) xargs creates multiple commands, not just one
> 
> 
> 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?
> 
> 
> 
> 
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> 

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list