I have two files with multiple columns separated by commas.
I want to search one column from the first file in the second file;
If there is a matching, will append that matched row to the first file. Let me show an example... (unique values in the search column)
First file
aa,reg1,bb,cc,dd,ff... (6 Replies)
I'm racking my brain on this one! :(
I have a list like this:
Paul 20
Paul 25
Paul 30
Frank 10
Julie 15
Julie 13
etc, etc...
I've been trying to figure out a way to have the output display the name in the first column ONCE and add the numbers in the second column and display that... (2 Replies)
Hi All,
I have two files one of which having some mobile numbers and corresponding value whose sample content as follows:
9058629605,8.0
9122828964,30.0
And in second file complete details of all mobile numbers and sample content as follows and delimeter used is comma(,):
... (8 Replies)
Hi friends,
My file is like:
Second file is :
I need to print the rows present in file one, but in order present in second file....I used
while read gh;do
awk ' $1=="' $gh'" {print >> FILENAME"output"} ' cat listoffirstfile
done < secondfile
but the output I am... (14 Replies)
Hi
I have 5 columns like this
a b c d e
f g h i j
k l m n o
From 2nd column till the 5th column of every record, I would like to transpose them as rows, so my output file contains only one row
a
b
c
d
e
f
g
h
i
j (9 Replies)
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)
I have file that looks like this,
DIP-17571N|refseq:NP_651151 DIP-17460N|refseq:NP_511165|uniprotkb:P45890 DIP-17571N|refseq:NP_651151
DIP-19241N|refseq:NP_524261 DIP-19241N|refseq:NP_524261 DIP-17151N|refseq:NP_524316|uniprotkb:O16797
DIP-19588N|refseq:NP_731165 ... (2 Replies)
Discussion started by: Syeda Sumayya
2 Replies
LEARN ABOUT OSF1
whois
whois(1) General Commands Manual whois(1)NAME
whois - Internet username directory service
SYNOPSIS
whois [-h server] name...
The whois command looks up user, host, and organization names in the Network Information Center (NIC) database.
OPTIONS
Specifies a whois server other than the default server rs.internic.net.
DESCRIPTION
The name argument can specify the following: The name of a registered user The name of a registered Internet host The name of some other
entity recognized by the whois server By default, the whois command queries the host rs.internic.net.
The operands specified to the whois command are concatenated together (separated by white-space) and presented to the whois the server.
The default action, unless directed otherwise with a special name is to do a very broad search, looking for matches to name in all types
of records and most fields (such as name, nicknames, host name, and network address) in the database. For more information as to what name
operands have special meaning, and how to guide the search, use the special name help.
EXAMPLES
To display the NIC database entry for the organization osf.org, enter: whois osf.org Open Software Foundation (OSF-DOM) 11 Cambridge Center
Cambridge, MAS 02142
Domain Name: OSF.ORG . . .
SEE ALSO
DARPA Internet Request for Comment: NICKNAME/WHOIS (RFC 812)
whois(1)