I have to merge two files:
The files are having the same format like
A0this is first line
TOlast line
silmilarly other lines.
I have to search for A0 line in the second file also and then put the data in the third file under A0 heading ,then for A1 and so on.
A0 portion will be treminated... (1 Reply)
Hi,
I have two files consisting of two columns. So I want to merge column 2 if column 1 is the same. So heres an example of what I mean.
FILE1
driver 444
car 333
hat 222
FILE2
driver 333
car 666
hat 999
So I want to merge the column 2's together so... (4 Replies)
Hi Friends,
I am new to UNIX. I need to merge all the files(to FINAL.txt) in single directory based one condition. Out of all the files one of file will have specific value like :GF01: at any where in the file.
so the file which is having :GF01: should be appended at the last.
EX:... (5 Replies)
1. if the 1st row IDs of input1 (ID1/ID2.....) is equal to any IDNames of input2
print all relevant values together as defined in the output.
2. A bit tricky part is IDno in the output. All we need to do is numbering same kind of
letters as 1 (aa of ID1) and different letters as 2 (ab... (4 Replies)
Hi All,
I do have 2 files
file 1 has 4 tab delimited columns
234 a c dfgyu
294 b g fih
302 c h jzh
328 z c san
597 f g son
File 2 has 2 tab delimted columns
234 23
302 24
597 24
I want to merge file 2 with file 1 based on the data common in both files which is the first column so... (6 Replies)
I have absolutely no idea how to do this and everything I have done doesn't even come close.
Here's the scenario:
There are a number of files in a folder named in this manner:
agd.txt
stv.txt
frk.txt
dqp.txt
There is also a series of other files in the same folder with like file... (5 Replies)
Hi there,
I'm trying to merge two files and make a third file.
However, two of the columns need to match exactly in both files AND I want everything from both files in the output if the two columns match in that row.
First file looks like this:
chr1 10001980 T A
Second... (12 Replies)
I had two files file1 and file2. I want a o/p file(file3) like below using first column as ref. Pls give suggestion ass join is not working as the number of lines in each file is nealry 5 C?
file1
---------------------
404000324810001 Y
404000324810004 N
404000324810008 Y
404000324810009 N... (1 Reply)
Hi,
I am facing issues while accomplishing below task.
We have two files Test1.txt and Test2.txt. We have to match 1st column of Test1.txt file with 2nd column of Test2.txt and then merge 2nd file with the 1st file. In the output we should select column 1 and 2 from the 1st file and column 1... (5 Replies)
Discussion started by: Prathmesh
5 Replies
LEARN ABOUT SUSE
elfdump
elfdump(1) User Commands elfdump(1)NAME
elfdump - dumps selected parts of an object file
SYNOPSIS
elfdump [-cCdegGhHiklmnprsuvy] [-N name] [-w file] filename...
DESCRIPTION
The elfdump utility symbolically dumps selected parts of the specified object file(s). The options allow specific portions of the file to
be displayed.
The elfdump utility is similar in function to the dump(1) utility. The dump utility offers an older and less user-friendly interface than
elfdump, although dump might be more appropriate for certain uses such as in shell scripts.
Archive files, produced by ar(1), can also be inspected with elfdump. In this case, each object within the archive is processed using the
options supplied.
For a complete description of the displayed information, refer to the Linker and Libraries Guide.
OPTIONS
The following options are supported:
-c Dumps section header information.
-C Demangles C++ symbol names.
-d Dumps the contents of the .dynamic section.
-e Dumps the ELF header.
-g Dumps the contents of the .group section.
-G Dumps the contents of the .got section.
-h Dumps the contents of the .hash section.
-H Dumps the contents of the .SUNW_cap hardware and software capabilities section.
-i Dumps the contents of the .interp section.
-k Calculates the ELF checksum. See gelf_checksum(3ELF).
-l Displays long section names without truncation.
-m Dumps the contents of the .SUNW_move section.
-n Dumps the contents of the .note section.
-N name Qualifies an option with a specific name. For example, in a file that contains more than one symbol table, the .dynsym ta-
ble can be displayed using:
example% elfdump -s -N .dynsym filename
-p Dumps the program headers.
-r Dumps the contents of the .rel[a] relocation sections.
-s Dumps the contents of the .dynsym and .symtab symbol table sections. For archives, the archive symbol table is also dumped.
Individual sections can be specified with the -N option. An archive symbol table can be specified using the special section
name -N ARSYM.
In the case of core files, the shndx field will have the value "unknown" since the field does not contain the valid values.
In addition to the standard symbol table information, the version definition index of the symbol is also provided under the
ver heading.
-u Dumps the contents of a frame unwind.
-v Dumps the contents of the .SUNW_version version sections.
-w file Writes the contents of a section that is specified with the -N option, to the named file. For example, extracting the .text
section of a file can be carried out with:
example% elfdump -w text.out -N .text filename
-y Dumps the contents of the .SUNW_syminfo section.
OPERANDS
The following operand is supported:
filename The name of the specified object file.
FILES
liblddbg.so linker debugging library
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWbtool |
+-----------------------------+-----------------------------+
|Interface Stability |Stable |
+-----------------------------+-----------------------------+
SEE ALSO ar(1), dump(1), nm(1), pvs(1), elf(3ELF), attributes(5)
Linker and Libraries Guide
SunOS 5.10 4 Oct 2004 elfdump(1)