![]() |
|
|
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 |
| Expect script with file input problems | meberline | Shell Programming and Scripting | 1 | 05-29-2008 05:40 PM |
| input from a file into an expect script ? | starsky | Shell Programming and Scripting | 2 | 04-16-2008 12:38 PM |
| Script for reading an input file | gzs553 | Shell Programming and Scripting | 1 | 10-17-2006 07:55 AM |
| Find script with input pattern file | iguanathompson | Shell Programming and Scripting | 8 | 02-06-2006 06:23 PM |
| file as input for script | finster | Shell Programming and Scripting | 1 | 11-11-2004 06:27 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
A newbie here, so please excuse my ignorance.....
I have a Master_file.txt whose contents will change every week.....basically gives a difference of the contents of a baseline.....on a weekly basis..... Master_File.txt -> Week1 ------------------------ A3 A1 D8 D6 T4 T3 . . . Next week the file might look like this..... Master_File.txt -> Week2 ------------------------ A5 A3 B6 B5 N5 N4 T5 T4 . . . I execute a customised diff script for each of the difference found in this Master_File.txt every week. So for Week1; I would execute A3 diff A1 > A_Result.txt D8 diff D6 > D_Result.txt .... for Week2; I would execute A5 diff A3 > A_Result.txt B6 diff B5 > B_Result.txt .... Now my question, I need a script which will pick up whatever is in the Master_file.txt as input every week in spite of the obvious changes(sometimes it could be only a version change, sometimes there could be a new object) and then execute my customized diff script against each of the listed objects. Would anyone know how to achieve this? Any help appreciated...... Thanks |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|