I had posted this earlier about 3 weeks ago and had recieved a response and I did sort both the files and the comm command is still not working.
Can someone please assist me, I would really appreciate it.
Below is what I am trying to do
I need to compare File A with File B and create FILE C... (2 Replies)
Before i start doing something, I wanted to know whether the approach to compare XML file with UNIX file system structure. I have a pre-configured file(contains a list of paths to executables) and i need to check against the UNIX directory structure. what are the various approches should i use ? I... (6 Replies)
Hi,
I want to compare two | delimited files.Awk is not working in my unix box.So plz give alternate solutions.
Please see the below code:
file1=$1
file2=$2
num_of_records_file1=`awk ' END { print NR } ' $file1`
num_of_records_file2=`awk ' END { print NR } ' $file2`
i=1
while
do... (4 Replies)
Hi,
I have two files
File1 Contents:
abc
dcf
sdc
File2 Contents:
dcf
sdc
erg
Now my program should return the contents existing in File1 but not in File2. In this case output shoud be "abc" as abc is not available in File 2. It should not return "erg" by saying it is... (4 Replies)
I am working on an outage script and I run a command from the command line which tells me the amount of generator failures in my market. The output of this command only gives me three digits to identify the site by. I have a master list of all sites in a separate file, call it list.txt. If my... (7 Replies)
Shell script logic
Hi
I have 2 input files like with file 1 content as (file1)
"BRGTEST-242" a.txt "BRGTEST-240" a.txt "BRGTEST-219" e.txt
File 2 contents as fle(2)
"BRGTEST-244" a.txt "BRGTEST-244" b.txt "BRGTEST-231" c.txt "BRGTEST-231" d.txt "BRGTEST-221" e.txt
I want to get... (22 Replies)
Discussion started by: pottic
22 Replies
LEARN ABOUT DEBIAN
go::parsers::base_parser
GO::Parsers::base_parser(3pm) User Contributed Perl Documentation GO::Parsers::base_parser(3pm)NAME
GO::Parsers::base_parser - base class for parsers
SYNOPSIS
do not use this class directly; use GO::Parser
DESCRIPTION AUTHOR
show_messages
Usage -
Returns -
Args -
normalize_files
Usage - @files = $parser->normalize_files(@files)
Returns -
Args -
takes a list of filenames/paths, "glob"s them, uncompresses any compressed files and returns the new file list
litemode
Usage - $p->litemode(1)
Returns -
Args - bool
when set, parser will only throw the following events:
id|name|is_a|relationship|namespace
(optimisation for fast parsing)
acc2name_h
Usage - $n = $p->acc2name_h->{'GO:0003673'}
Returns - hashref
Args - hashref [optional]
gets/sets a hash mapping IDs to names
this will be automatically set by an ontology parser
a non-ontology parser will use this index to verify the parsed data (see $p->acc_not_found($id), below)
acc_not_found
Usage - if ($p->acc_not_found($go_id)) { warn("$go_id not known") }
Returns - bool
Args - acc string
uses acc2name_h - if this hash mapping has been created AND the acc is not in the hash, THEN it is considered not found
This is useful for non-ontology parsers (xref_parser, go_assoc_parser) to check whether a referenced ID is actually present in the ontology
note that if acc2name_h has not been created, then accs cannot be considered not-found, and this will always return 0/false
perl v5.14.2 2010-07-24 GO::Parsers::base_parser(3pm)