Search Results

Search: Posts Made By: p_sai_ias
1,417
Posted By p_sai_ias
File merging using first column as the ref
Hi,

Join coomand is not working as both the files contain more than 10M lines.

Pls suggest some other script?
1,417
Posted By p_sai_ias
File merging using first column as the ref
Thank you its working fine. But its taking long time.

Cant we do fast using perl or any other script?
1,417
Posted By p_sai_ias
File merging using first column as the ref
I had two files 1.txt 2.txt. I want a 3rd file(o/p) 3.txt like below based on the common elements from the first coulmns of 1.txt and 2.txt.

1.txt


11
12
13
14
15
16
17
18
19
20
21...
1,018
Posted By p_sai_ias
Hi anchal, I had 5 files in in one...
Hi anchal,

I had 5 files in in one folder(/home/sai/) namely sai.
>cd /home/sai
>ls
1.gz 2.gz 3.gz 4.gz 5.gz

I want to delete the files which are there in home directory, if filecount in sai...
1,018
Posted By p_sai_ias
multiple condition matching and doing some predefined work
Hi everybody,

I had 10 files in in one folder(/home/sai/) namely sai.
1.gz,2.gz,3.gz ..,10.gz.

I want to delete the files which are there home based on the following conditions

fliecount...
3,254
Posted By p_sai_ias
ThankQ.Its working fine. Can you please...
ThankQ.Its working fine.

Can you please explain how this script works?
3,254
Posted By p_sai_ias
its working properly only except last line is...
its working properly only except last line is missing even tjough it is matching.O/P like below


1234567890 101001234567890
1234567892 101001234567892
1234567894 101001234567894
1234567895...
3,254
Posted By p_sai_ias
its ok when all are uniform. for ex some patterns...
its ok when all are uniform. for ex some patterns in one file1 are not at all there in file2.Giving one example below.

file1
101001234567890
101001234567891
101001234567892
101001234567893...
3,254
Posted By p_sai_ias
Matching the substring and join two files
Hi

I had two files like below.

file-1

101001234567890
101001234567891
101001234567892
101001234567893
101001234567894
101001234567895
101001234567896
101001234567897 ...
2,080
Posted By p_sai_ias
ThanQ it s working with awk also. One more...
ThanQ it s working with awk also.

One more query for ex 2.txt coantains some elements in column 1 whixh are not aprt of 1.txt then how to do the same thing.

1.txt
-----
11 a1
12 ...
2,080
Posted By p_sai_ias
ThanQ. Its working with nawk. Baut can we use awk...
ThanQ. Its working with nawk. Baut can we use awk also for doing this?
2,080
Posted By p_sai_ias
File merging using first column as the ref
Hi,

Its not working, as it is giving the follwing as o/p file.

3.txt

11 a1
12 a2
13 a3
14 a4
15 a5
16 a6
17 a7
18 a8
19 a9
20 a10
14 b1
15 b2
16 b3
17 b4
2,080
Posted By p_sai_ias
File merging using first column as the ref
I had two files 1.txt 2.txt. I want a 3rd file(o/p) 3.txt like below (using awk)

1.txt

11 a1
12 a2
13 a3
14 a4
15 a5
16 a6
17 a7
18 a8
19 ...
1,759
Posted By p_sai_ias
merging two files based on first column
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?
...
Showing results 1 to 14 of 14

 
All times are GMT -4. The time now is 03:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy