Sponsored Content
Top Forums Shell Programming and Scripting shell script comparing files in a file Post 75630 by raina_nalin on Tuesday 21st of June 2005 04:50:50 AM
Old 06-21-2005
THANKS A TON !
PLEASE IGNORE MY PREVIOUS REPLY..I HAD REPLACED $1 BY $i..SO WAS NOT WORKING :-)
ITS WORKING NOW.

THANKS !
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

shell script for comparing 2 files

Hi, how to read the 2 files and compare each other in shell script? i have 2 files test1 and test2, both files contains 20 character records.we have to compare file 1 records with file2, if exists then reject the record else we have to append it to test2 file. in file test1 around 100 single... (2 Replies)
Discussion started by: prashanth.spl
2 Replies

2. Shell Programming and Scripting

comparing two files using shell script

hi experts please help me to compare two files which are in different directory file1<file will be master file> (/home/rev/mas.txt} ex x1 x2 file2 <will be in different folder> (/home/rev/per/.....) ex x3 x4 the filesinside per folder i need to compare with master file and the files... (2 Replies)
Discussion started by: revenna
2 Replies

3. Shell Programming and Scripting

Comparing 2 file use c shell script

Hi all, I got 2 file : file1: file2: output: But , must write out in C shell.Anybody can help solve? (6 Replies)
Discussion started by: proghack
6 Replies

4. Shell Programming and Scripting

comparing 2 files in shell script

I have 2 files config1h.txt ----------------- BFMU=ENABLE,ID=PM THR=OFF,REP=ALL,CON=IACM,TIM=OFF;GPON collection strategy 1.3.6.1.2.1.2.2:8 1.3.6.1.2.1.2.2:7 1.3.6.1.4.1.637.61.1.35.11.4:4 1.3.6.1.4.1.637.61.1.35.11.4:3 1.3.6.1.4.1.637.61.1.35.10.1:2 1.3.6.1.4.1.637.61.1.35.10.1:43... (7 Replies)
Discussion started by: LavanyaP
7 Replies

5. Shell Programming and Scripting

Comparing 2 files using shell script

Hi Experts, I have 2 files 1 file consists of 800 records and 2 file consists of 100 records with matching column as Membership_Num.So i need a script which will compare the 2 files and displays the output.As these are the files the script should take any delimter like (tab,comma) as input... (6 Replies)
Discussion started by: naveen.dasu
6 Replies

6. Shell Programming and Scripting

shell script for comparing two files

Hi, I have 2 files as below FILE1.dat co1|co2|co3 abnd|45.56|AZ dkny|30.2|PA sam|.23|VA FILE.CTL FILENAME|FILE1.dat NO OF RECORDS|3 CHECKSUM|75.99 Could you please help me to write a shell script to compare 1. TOTAL RECORDS from FILE1.dat with NO of RECORDS in FILE.CTL 2.... (8 Replies)
Discussion started by: dreamsportsteam
8 Replies

7. Shell Programming and Scripting

Need help in comparing two files using shell or Perl

I have these two file that I am trying to compare using shell arrays. I need to find out the changed or the missing enteries from File2. For example. The line "f nsd1" in file2 is different from file1 and the line "g nsd6" is missing from file2. I dont want to use "for loop" because my files... (2 Replies)
Discussion started by: sags007_99
2 Replies

8. Shell Programming and Scripting

Need Help in comparing 2 text files in shell script

Hi All, I have 2 files like below vi f1 frog elephant rabit zebra dog vi f2 rabit dog ============== Now i want to comapre two files and the result will be frog (8 Replies)
Discussion started by: kumar85shiv
8 Replies

9. UNIX for Dummies Questions & Answers

Shell script needed for comparing two files

Hi, I need shell script to compare the two files based on certain fields and output should contains the required fields based on result.pls find sample input files and required output file 1 COUNT, BNG_IP,PORT,OVLAN 22 , 10.238.60.129,1/1,2009 144 , 10.238.60.129,1/1,2251 ... (5 Replies)
Discussion started by: surender reddy
5 Replies
obexftpd(1)															       obexftpd(1)

NAME
obexftpd - Mobile Equipment file transfer server SYNOPSIS
obexftpd [OPTIONS] [TRANSPORT] DESCRIPTION
With obexftpd you can set up an obex server on any computers using IrDA, Bluetooth or TCP/IP. Use e.g. obexftp or the ObexFS to access the files on this server. OPTIONS
The ordering of options is important. The first transport option will start the server. Use basedir and verbose options prior to any trans- port. See EXAMPLES TRANSPORT OPTIONS -i, --irda Acceopt connections using the IrDA protocol. -b, --bluetooth Accept connections via bluetooth. -t device, --tty device Accept connections from this tty device. NOT WORKING! -n host, --network host Accept connections from the network to this port. SETTING THE FILE PATH -c folder, --chdir folder Set the base directory for the server. VERSION INFORMATION AND HELP -v, --verbose Be verbose and give some additional infos. -V, --version Print version string and exit. -h, --help, --usage Print short usage instructions. EXAMPLES
Start listening for bluetooth connections and use a safe basedir: obexftpd -c /tmp/inbox -b SEE ALSO
obexftp(1), openobex(3), obexftp(3), multicobex(3), libbfb(3). BUGS
Bugs ? Features ! NOTES
The software has been tested and reported working on at least Siemens, Ericsson, and Nokia phones. AUTHOR
Christian W. Zuckschwerdt <zany@triq.net> Alan Zhang <vibra@tom.com> 17 February 2009 obexftpd(1)
All times are GMT -4. The time now is 02:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy