Sponsored Content
Full Discussion: File Compare Shareware??
Top Forums UNIX for Dummies Questions & Answers File Compare Shareware?? Post 315 by tonyo61 on Wednesday 22nd of November 2000 10:46:12 AM
Old 11-22-2000
Thank You

The solutions that you gave me were invaluable!! Thank you very much. I will get back to you after some further research.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Free Shareware for UNix.

Hello Guys, Just started with unix. I need it to keep my job. I need a free downloadable Unix simulator to use. I already have a unix material i'm reading. Any ideas. :) (1 Reply)
Discussion started by: iwegbue3
1 Replies

2. UNIX for Dummies Questions & Answers

Unix Shareware with the -B and -A grep fuctionality

Hi, Can anyone help me or tell me how I can get a unix shareware that will allow me use grep with the following flags -A and -B. the version of Unix we have dont have this. I am doing a grep on a log to capture any error but I want what is returend to be more meaningful. Thanks Amen. (7 Replies)
Discussion started by: aasemota
7 Replies

3. Shell Programming and Scripting

Check File Exists and compare to previous day file script

We have data files that are ftp'd every morning to a SUN server. The file names are exactly the same except for that each has the date included in its name. I have to write script to do 2 things: STEP 1) Verify that the file arrived in morning. STEP 2) Compare the file size of the current... (3 Replies)
Discussion started by: rbknisely
3 Replies

4. Shell Programming and Scripting

script to grep a pattern from file compare contents with another file and replace

Hi All, Need help on this I have 2 files one file file1 which has several entries as : define service{ hostgroup_name !host1,!host5,!host6,.* service_description check_nrpe } define service{ hostgroup_name !host2,!host4,!host6,.* service_description check_opt } another... (2 Replies)
Discussion started by: namitai
2 Replies

5. Shell Programming and Scripting

Match list of strings in File A and compare with File B, C and write to a output file in CSV format

Hi Friends, I'm a great fan of this forum... it has helped me tone my skills in shell scripting. I have a challenge here, which I'm sure you guys would help me in achieving... File A has a list of job ids and I need to compare this with the File B (*.log) and File C (extend *.log) and copy... (6 Replies)
Discussion started by: asnandhakumar
6 Replies

6. Shell Programming and Scripting

Compare 2 text file with 1 column in each file and write mismatch data to 3rd file

Hi, I need to compare 2 text files with around 60000 rows and 1 column. I need to compare these and write the mismatch data to 3rd file. File1 - file2 = file3 wc -l file1.txt 58112 wc -l file2.txt 55260 head -5 file1.txt 101214200123 101214700300 101250030067 101214100500... (10 Replies)
Discussion started by: Divya Nochiyil
10 Replies

7. Shell Programming and Scripting

How to compare 2 files and create a result file with unmatched lines from first file.?

HI, I have 2 text files. file1 and file2. file1.txt (There are no duplicates in this file) 1234 3232 4343 3435 6564 6767 1213 file2.txt 1234,wq,wewe,qwqw 1234,as,dfdf,dfdf 4343,asas,sdds,dsds 6767,asas,fdfd,fdffd I need to search each number in file1.txt in file2.txt's 1st... (6 Replies)
Discussion started by: Little
6 Replies

8. Shell Programming and Scripting

Shell script (sh file) logic to compare contents of one file with another file and output to file

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
NDB(8)							      System Manager's Manual							    NDB(8)

NAME
query, mkhash, mkdb, cs, csquery, dns, dnsquery - network database SYNOPSIS
ndb/query attr value [ rattr ] ndb/mkhash file attr ndb/cs [ -n ] [ -f dbfile ] ndb/csquery ndb/dns [ -s ] [ -f dbfile ] ndb/dnsquery ndb/mkdb DESCRIPTION
The network database holds administrative information used by network programs such as bootp(8), ipconfig(8), con(1), etc. Ndb/query searches the database for an attribute of type attr and value value. If rattr is not specified, all entries matched by the search are returned. If rattr is specified, the value of the first pair with attribute rattr of all the matched entries is returned. Ndb/mkhash creates a hash file for all entries with attribute attr in database file file. The hash files are used by ndb/query and by the ndb library routines. Ndb/cs is a server used by dial(2) to translate network names. Option -f supplies the name of the data base file to use, default /lib/ndb/local. It is started at boot time. It finds out what networks are configured by looking for /net/*/clone when it starts. It can also be told about networks by writing to /net/cs a message of the form: add net1 net2 ... Ndb/cs also sets the system name in /dev/sysname if it can figure it out. Option -n causes cs to do nothing but set the system name. Ndb/csquery can be used to query ndb/cs to see how it resolves addresses. Ndb/csquery prompts for addresses and prints out what ndb/cs returns. Ndb/dns is a server used by ndb/cs and by remote systems to translate Internet domain names. Ndb/dns is started at boot time. By default dns serves only requests written to /net/dns. Option -s causes the server to also answer domain requests sent to UDP port 53. Name reso- lution is performed by searching the local database and by querying remote servers. The server for a domain is indicated by a database entry containing both a dom and a ns attribute. For example, the entry for the Internet root is: dom= ns=ns.nic.ddn.mil ns=kava.nisc.sri.com ns=aos.brl.mil The root of a domain subtree served by the local database is indicated by an entry with an soa attribute. For example, the AT&T research domain is: dom=research.att.com soa mb=ches.research.att.com ns=inet.research.att.com ns=research.research.att.com Here, the mb entry is the mail address of the person responsible for the domain (default postmaster). Wild-carded domain names can also be used. For example, to specify a mail forwarder for all AT&T research systems: dom=*.research.att.com mx=research.att.com Ndb/dnsquery can be used to query ndb/dns to see how it resolves requests. Ndb/dnsquery prompts for commands of the form domain-name request-type where request-type can be ip, mx, ns, cname, ptr.... In the case of the inverse query type, ptr, dnsquery will reverse the ip address and tack on the .in-addr.arpa for you. Ndb/mkdb is used in concert with awk(1) scripts to convert uucp systems files, IP host files, and Datakit configuration files into database files. It is very specific to the situation at Murray Hill. When the database files change underfoot, ndb/cs and ndb/dns track them properly. Nonetheless, to keep the database searches efficient it is necessary to run ndb/mkhash whenever the files are modified. It may be profitable to control this by a frequent cron(8) job. EXAMPLES
% ndb/query sys helix sys=helix dom=helix.research.att.com bootf=/mips/9powerboot ip=135.104.117.31 ether=080069020427 dk=nj/astro/helix proto=il % ndb/query sys helix ip 135.104.117.31 % ndb/dnsquery > 9net.research.att.com ip 9net.research.att.com ip 192.20.225.252 > 192.20.225.252 ptr 252.225.20.192.in-addr.arpa ptr 9net.research.att.com > FILES
/lib/ndb/local first database file searched /lib/ndb/local.* hash files for /lib/ndb/local /srv/cs service file for ndb/cs /net/cs where /srv/cs gets mounted /srv/dns service file for ndb/dns /net/dns where /srv/dns gets mounted SOURCE
/sys/src/cmd/ndb SEE ALSO
ndb(2) ndb(6) NDB(8)
All times are GMT -4. The time now is 02:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy