08-11-2010
wow! this is a simpel neat solution. Can I prevent the file name being printed ? I just need the dir name
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi I have a requirement like this.
I have two files
This is how data1.txt looks:
EI3171280 38640658501 NENN2005-12-129999-12-312005-12-12HALL NANCY 344 CHENEY HIGHWAY ... (4 Replies)
Discussion started by: venommaker
4 Replies
2. Shell Programming and Scripting
Hi,
I have got two files
1.txt
1111|apple|
2222|orange|
2.txt
1111|1234|000000000004356|
1111|1234|000000001111|
1111|1234|002000011112|
2222|5678|000000002222|
2222|9102|000000002222|
I need to merge these two so that my out put looks like below:
Search code being used should be... (4 Replies)
Discussion started by: jisha
4 Replies
3. Shell Programming and Scripting
i would like to merge two files that have the same format but have different data.
i would like to create one output file that contains information from both the original files.:rolleyes: (2 Replies)
Discussion started by: joe black
2 Replies
4. Shell Programming and Scripting
Hi,
I want to merge the two files on the basis of columns like...
file 1
Data Key
A 12
B 13
file2
Data Value
A A1
A A2
B B1
B B2 (5 Replies)
Discussion started by: clx
5 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I have two files a.txt and b.txt.
a.txt
1
2
3
4
b.txt
a
b
c
d
e
I want to generate a file c.txt by merging these two file and the resultant file would contain
c.txt
1 (4 Replies)
Discussion started by: siba.s.nayak
4 Replies
6. Shell Programming and Scripting
:::::::::
::FileA::
:::::::::
A1-------A2--------A3---A4---A5--
=================================
AC5VXVLT-XX----------------------
B57E434--XXXX1-----MMMM-ZZZ--111-
C325G20--XXXXX3----CCCC------3332
DC35S51--XXXXY1----DDDD------44X-
DC35S52--XXXXY2----DDDD------44Y-... (5 Replies)
Discussion started by: lordsmiter
5 Replies
7. Shell Programming and Scripting
Hello,
I am trying to merge data from two text files. One file (File1) contains a listing of data which includes the trial number in Column 5, while the other text file (File2) contains what category the trial belongs to.
Here is a snippet of what File1 looks like.
1 Arrow_ST 9.738 0.905... (2 Replies)
Discussion started by: Jahn
2 Replies
8. Shell Programming and Scripting
Hi all
Need little help from you
my aim is like merging the output of 6 files (log_files)
And merge it into the one master file
tell me the script for this
please
thanks in advance
Please reply in mail if possible
<email removed>
Regards:
zimmy (1 Reply)
Discussion started by: zimmyyash
1 Replies
9. Shell Programming and Scripting
Guys,
I am having little problem with getting a daily report!
The daily process that I do is as follows
1. Unload Header for the report from the systables to one unl file, say Header.unl
2. Unload the data from the required table/tables to another unl file, say Data.unl
3. Send a... (2 Replies)
Discussion started by: PikK45
2 Replies
10. Shell Programming and Scripting
I have the urge to merge some files using unix shell script but I'm very new using this language and I haven't succeeded yet.
The requirement is to merge the header, body and footer into one file with the name "ANY-NAME" in below example. To identify which files should be merged, I have flagged... (9 Replies)
Discussion started by: black_soul
9 Replies
LEARN ABOUT DEBIAN
cabextract
CABEXTRACT(1) General Commands Manual CABEXTRACT(1)
NAME
cabextract - program to extract files from Microsoft cabinet (.cab) archives
SYNOPSIS
cabextract [-ddir] [-f] [-Fpattern] [-h] [-l] [-L] [-p] [-q] [-s] [-t] [-v] cabinet files ...
DESCRIPTION
cabextract is a program that un-archives files in the Microsoft cabinet file format (.cab) or any binary file which contains an embedded
cabinet file (frequently found in .exe files).
cabextract will extract all files from all cabinet files specified on the command line.
To extract a multi-part cabinet consisting of several files, only the first cabinet file needs to be given as an argument to cabextract as
it will automatically look for the remaining files. To prevent cabextract from extracting cabinet files you did not specify, use the -s
option.
OPTIONS
A summary of options is included below.
-d dir Extracts all files into the directory dir.
-f When testing or extracting cabinet files, corrupted MSZIP blocks will be ignored. A warning will be printed if a corrupted MSZIP
block is encountered.
-F pattern
Only files with names that match the shell pattern pattern shall be listed, tested or extracted. On non-GNU systems, this match may
be case-sensitive.
-h Prints a page of help and exits.
-l Lists the contents of the given cabinet files, rather than extracting them.
-L When extracting cabinet files, makes each extracted file's name lowercase.
-p Files shall be extracted to standard output.
-q When extracting cabinet files, suppresses all messages except errors and warnings.
-s When testing, listing or extracting cabinets which span multiple files, only cabinet files given on the command line shall be used.
-t Tests the integrity of the cabinet. Files are decompressed, but not written to disk or standard output. If the file successfully
decompresses, the MD5 checksum of the file is printed.
-v If given alone on the command line, prints the version of cabextract and exits. Given with a list of cabinet files, it will list the
contents of the cabinet files.
AUTHOR
This manual page was written by Stuart Caie <kyzer@4u.net>, based on the one written by Eric Sharkey <sharkey@debian.org>, for the Debian
GNU/Linux system.
SEE ALSO
lcab(1)
October 30, 2005 CABEXTRACT(1)