Thanks feherke, it works.
taupirho, i had tried with join commnand (join -a1 file1 file2) before. It works for small files, but fails with the number of lines is large.
Is there any reason for that ?
rk
Hi all,
I have two files for which the first column of file1 contains all the first column entries of file2 and some more. I want to write another file from file1 whose first column entries are not present in the first column of file2.
For example:
file1:
--------
9375 63.511 76.900...
Hello,
I have a ascii table that looks like this:
84.575 1.775
84.593 1.773
84.618 1.768
84.642 1.768
84.666 1.763
84.685 1.761
84.696 1.759
Th first column ranges from 0 to 120 and the second column from 0 to 4. I want to "bin" the first column (within 2 units) and calculate...
Hello,
I have two files: File1 has two columns and File2 has four columns. They also have different no. of rows.
I want to match column-1 of file1 with column-1 of file2
and column-2 of file1 with column-2 of file2. Then I want to print the matched records of file2 or write to file3.
The...
Hi all,
I have hundreds of files with names like this:
101-fd34.pics
102-fd35.pics
103-fd36.pics
104-fd37.pics
and I want to rename them as:
fd34.picks
fd35.picks
fd36.picks
fd37.picks
That means, I want to get rid of the characters before "fd"
and add a k in "pics" to make it "picks"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.