![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Shell script to search for text in a file and copy file | imeadows | UNIX for Dummies Questions & Answers | 9 | 11-12-2008 09:12 PM |
| String comparision in shell scripting | Anji | Shell Programming and Scripting | 2 | 01-15-2008 06:07 AM |
| search for the contents in many file and print that file using shell script | cdfd123 | Shell Programming and Scripting | 3 | 10-07-2007 11:17 PM |
| Unix File Comparision | coolguy01 | Shell Programming and Scripting | 5 | 08-29-2006 03:35 AM |
| Reading file names from a file and executing the relative file from shell script | anushilrai | Shell Programming and Scripting | 4 | 03-10-2006 05:25 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
File Comparision by using Shell Script
Hello All,
I am trying to find 2 file comparision by using Shell Script. For example, I am having 2 directories namely DAY1 & DAY2. DAY1 directory contains file1.dat, file2.dat, file3.dat, file4.dat, file5.dat & DAY2 directory contains file1.dat, file2.dat, file3.dat, file4.dat, file5.dat. Now, want to compare DAY2/file1.dat with DAY1/file1.dat and store the result in tmp file, .... DAY2/file5.dat with DAY1/file5.dat and store the result in tmp file like. I.e., DAY2/file1.dat first row checkes with each rows in DAY1/file1.dat and so on. How to do in Shell Script. File row length is dynamic and this shell script is to run interactively by using batch jobs in UNIX. Does anybody use this requirement in your project or suggest me how to do this approach. In fact, I am new to UNIX shell scripting. Regreat your suggestions/help. Regards Venkat. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|