Merge Two Tables with duplicates in first table


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Merge Two Tables with duplicates in first table
# 8  
Old 05-17-2011
ahh .. a simple modification and its working fine.. Smilie.. i kept $0 after a[$1],b[$1]

thank you both for your codes.. they work perfect..
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Filtering duplicates based on lookup table and rules

please help solving the following. I have access to redhat linux cluster having 32gigs of ram. I have duplicate ids for variable names, in the file 1,2 are duplicates;3,4 and 5 are duplicates;6 and 7 are duplicates. My objective is to use only the first occurrence of these duplicates. Lookup... (4 Replies)
Discussion started by: ritakadm
4 Replies

2. UNIX for Dummies Questions & Answers

How to merge two tables based on a matched column?

Hi, Please excuse me , i have searched unix forum, i am unable to find what i expect , my query is , i have 2 files of same structure and having 1 similar field/column , i need to merge 2 tables/files based on the one matched field/column (that is field 1), file 1:... (5 Replies)
Discussion started by: karthikram
5 Replies

3. Shell Programming and Scripting

Help with merge and remove duplicates

Hi all, I need some help to remove duplicates from a file before merging. I have got 2 files: file1 has data in format 4300 23456 4301 2357 the 4 byte values on the right hand side is uniq, and are not repeated anywhere in the file file 2 has data in same format but is not in... (10 Replies)
Discussion started by: roy121
10 Replies

4. Shell Programming and Scripting

Merge files without duplicates

Hi all, In a directory of many files, I need to merge only files which do not have identical lines and also the resulatant merge file should not be more than 50000 lines. Basically I need to cover up all text files in that directory and turn them to Merge files.txt with 50000 lines each ... (2 Replies)
Discussion started by: pravfraz
2 Replies

5. Shell Programming and Scripting

Find duplicates in column 1 and merge their lines (awk?)

Hi, I have a file (sorted by sort) with 8 tab delimited columns. The first column contains duplicated fields and I need to merge all these identical lines. My input file: comp100002 aaa bbb ccc ddd eee fff ggg comp100003 aba aba aba aba aba aba aba comp100003 fff fff fff fff fff fff fff... (5 Replies)
Discussion started by: falcox
5 Replies

6. Shell Programming and Scripting

Merge multiple tables into big matrix

Hi all, I have a complex (beyond my biological expertise) problem at hand. I need to merge multiple files into 1 big matrix. Please help me with some code. Inp1 Ang_0 chr1 98 T A Ang_0 chr1 352 G A Ang_0 chr1 425 C T Ang_0 chr2 ... (1 Reply)
Discussion started by: newbie83
1 Replies

7. Shell Programming and Scripting

merge multiple tables with perl

Hi everyone, I once again got stuck with merging tables and was wondering if someone could help me out on that problem. I have a number of tab delimited tables which I need to merge into one big one. All tables have the same header but a different number of rows (this could be changed if... (6 Replies)
Discussion started by: TuAd
6 Replies

8. Shell Programming and Scripting

squeeze duplicates from a table

I have files with an x amounts of rows with each row having 2 columns seperated by delimiter "|" . File contains following records for example. 15|69 15|70 15|71 15|72 15|73 15|74 16|2 16|3 16|4 16|5 16|6 16|7 16|8 16|9 16|10 16|11 16|12 (4 Replies)
Discussion started by: Alex_P
4 Replies
Login or Register to Ask a Question
MAUTIL(1)							   User Commands							 MAUTIL(1)

NAME
mautil - Mono.Addins Setup Utility SYNOPSIS
mautil [options] <command> [arguments] DESCRIPTION
The mautil tool works with Mono.Addins repositories and packages. OPTIONS
--registry, -reg Specify add-in registry path --path, -p Specify startup path -v Verbose output Add-in commands: install, i Installs add-ins. uninstall, u Uninstalls add-ins. check-install, ci Checks installed add-ins. update, up Updates installed add-ins. list, l Lists installed add-ins. list-av, la Lists add-ins available in registered repositories. list-update, lu Lists available add-in updates. Repository Commands: rep-add, ra Registers repositories. rep-remove, rr Unregisters repositories. rep-update, ru Updates the lists of available addins. rep-list, rl Lists registered repositories. Add-in Registry Commands: reg-update, rgu Updates the add-in registry. reg-build, rgb Rebuilds the add-in registry. info Prints information about an add-in. Packaging Commands: rep-build, rb Creates a repository index file for a directory structure. pack, p Creates a package from an add-in configuration file. help, h Shows help about a command. Debug Commands: dump-file Prints the contents of a registry file. SEE ALSO
mono(1). Mono.Addins May 2008 MAUTIL(1)