Search Results

Search: Posts Made By: BSP
1,198
Posted By BSP
Thank you! For others who might run into a...
Thank you!

For others who might run into a similar problem I gathered some more options:

Perl solution:
$ perl -lane 'BEGIN{open(A,"file1"); while(<A>){chomp; @F=split(/\t/); ...
1,198
Posted By BSP
Thanks, your answer worked on my example....
Thanks, your answer worked on my example. However, the real files I deal with have reocurrence of specified identifiers from column 1, eg.

File 1:
1 today
1 green
2 tomorrow
3 red
1 today ...
1,198
Posted By BSP
Merging two tables including multiple ocurrence of column identifiers and unique lines
I would like to merge two tables based on column 1:

File 1:

1 today
1 green
2 tomorrow
3 red

File 2:

1 a lot
1 sometimes
2 at work
2...
Showing results 1 to 3 of 3

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