hello,
I have implemented a 32bit crc generation algorithm. Now at the receiver side i need to check the crc for that....i need to add the message in the packet and the crc and divide it with the key common at both side and the remainder should be zero.
now how to add crc which is hexadecimal... (4 Replies)
{Hello All,
Here is what I am trying to do:
I have an archive file: AppName.ear
jar -tvf AppName.ear
60459 Thu May 01 09:29:36 EDT 2008 /SharedResources/Application/App.dat
67542 Thu May 01 09:29:36 EDT 2008 JDBCConn/Application/App.dat
14488 Thu May 01 09:29:36 EDT 2008 config.xml
... (0 Replies)
consider on day1, in PVCS repository we have java files like a.java,b.java with version revision 1.0, through ANT build script we have compiled and created an ear,named c.ear in AIX build server.we have transfered this ear from build server to portal server through FTP using KSHELL.
consider... (0 Replies)
Hi,
I have to run my JAVA programs in UNIX server. The java program uses some external jar files for compiling. I have set the classpath to the folder where all the jar files are present using EXPORT classpath command.
But when i compile, it shows errors.. saying that the classes relating... (8 Replies)
i have about 30 .EAR files, every ear file have 1 .JAR file.
so i need to extract .EAR files then extract .JAR files, and one important thing is that every archive must bee extracted to separate folder.
i try with gzip, but when i extract 30 ear files i cant make separate folders.... (1 Reply)
Hi,
I am new to shell scripting.Please help me on this.I am using solaris 10 OS and shell i am using is
# echo $0
-sh
My requirement is i have source file say makefile.I need to extract files with extensions (.c |.cxx |.h |.hxx |.sc) from the makefile.after doing so i need to check whether... (13 Replies)
Good day people,
Hereby wish to have your advise for below:
I have some .jar files, some script files (install.sh, action.sh) , and a libaes.so file. Basically, the .jar files compute the operation of my system and define the working directory for my system.
My current scenario:
i trigger... (1 Reply)
Hi,
I am trying to write a shell script that will go to another folder and run the script in that folder. The folder structure is kind of like this:
/MainFolder/
|-> MainShellScript.sh
|
|-> Folder1/
|-----|-> script1.sh
|-----|-> FileToRun1.jar
|
|-> Folder2/
|-----|-> script2.sh... (3 Replies)
Output from zipdiff GNU EAR comparison tool produces output in html divided into three sections "Added, Removed, Changed". I want the output to be sorted by jar or war file.
<html>
<body>
<table>
<tr>
<td class="diffs" colspan="2">Added </td>
</tr>
<tr><td>
<ul>... (5 Replies)
Discussion started by: kchinnam
5 Replies
LEARN ABOUT FREEBSD
unzip
UNZIP(1) BSD General Commands Manual UNZIP(1)NAME
unzip -- extract files from a ZIP archive
SYNOPSIS
unzip [-aCcfjLlnopqtuv] [-d dir] zipfile
DESCRIPTION
The following options are available:
-a When extracting a text file, convert DOS-style line endings to Unix-style line endings.
-C Match file names case-insensitively.
-c Extract to stdout/screen. When extracting files from the zipfile, they are written to stdout. This is similar to -p, but does
not suppress normal output.
-d dir Extract files into the specified directory rather than the current directory.
-f Update existing. Extract only files from the zipfile if a file with the same name already exists on disk and is older than the
former. Otherwise, the file is silently skipped.
-j Ignore directories stored in the zipfile; instead, extract all files directly into the extraction directory.
-L Convert the names of the extracted files and directories to lowercase.
-l List, rather than extract, the contents of the zipfile.
-n No overwrite. When extracting a file from the zipfile, if a file with the same name already exists on disk, the file is silently
skipped.
-o Overwrite. When extracting a file from the zipfile, if a file with the same name already exists on disk, the existing file is
replaced with the file from the zipfile.
-p Extract to stdout. When extracting files from the zipfile, they are written to stdout. The normal output is suppressed as if -q
was specified.
-q Quiet: print less information while extracting.
-t Test: do not extract anything, but verify the checksum of every file in the archive.
-u Update. When extracting a file from the zipfile, if a file with the same name already exists on disk, the existing file is
replaced with the file from the zipfile if and only if the latter is newer than the former. Otherwise, the file is silently
skipped.
-v List verbosely, rather than extract, the contents of the zipfile. This differs from -l by using the long listing. Note that
most of the data is currently fake and does not reflect the content of the archive.
-x pattern Exclude files matching the pattern pattern.
-Z mode Emulate zipinfo(1L) mode. Enabling zipinfo(1L) mode changes the way in which additional arguments are parsed. Currently only
zipinfo(1L) mode 1 is supported, which lists the file names one per line.
Note that only one of -n, -o, and -u may be specified. If specified filename is "-", then data is read from stdin.
ENVIRONMENT
If the UNZIP_DEBUG environment variable is defined, the -q command-line option has no effect, and additional debugging information will be
printed to stderr.
COMPATIBILITY
The unzip utility aims to be sufficiently compatible with other implementations to serve as a drop-in replacement in the context of the
ports(7) system. No attempt has been made to replicate functionality which is not required for that purpose.
For compatibility reasons, command-line options will be recognized if they are listed not only before but also after the name of the zipfile.
Normally, the -a option should only affect files which are marked as text files in the zipfile's central directory. Since the archive(3)
library reads zipfiles sequentially, and does not use the central directory, that information is not available to the unzip utility.
Instead, the unzip utility will assume that a file is a text file if no non-ASCII characters are present within the first block of data
decompressed for that file. If non-ASCII characters appear in subsequent blocks of data, a warning will be issued.
The unzip utility is only able to process ZIP archives handled by libarchive(3). Depending on the installed version of libarchive, this may
or may not include self-extracting archives.
SEE ALSO libarchive(3)HISTORY
The unzip utility appeared in FreeBSD 8.0.
AUTHORS
The unzip utility and this manual page were written by Dag-Erling Smorgrav <des@FreeBSD.org>. It uses the archive(3) library developed by
Tim Kientzle <kientzle@FreeBSD.org>.
BSD May 10, 2012 BSD