Computing.Net > Forums > Programming > Script to read 3 files and compare & replace

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Script to read 3 files and compare & replace

Reply to Message Icon

Name: sscript8784
Date: May 14, 2009 at 14:02:18 Pacific
OS: AIX/UNIX
Subcategory: General
Comment:

Hi Im looking for script that will do following:
read file1
Check file 2 && file 3
if <item> found in file1=file2 replace file1 text with instuction1
if item found in file1=file3 replace file1 text with instruction2

Regards



Sponsored Link
Ads by Google

Response Number 1
Name: ghostdog
Date: May 15, 2009 at 00:05:54 Pacific
Reply:

what have you tried?
show samples of the input files next time


0
Reply to Message Icon

Related Posts

See More


my code keeps givin error... Inserting Header Rom in D...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Script to read 3 files and compare & replace

How to read whole file? (C++) www.computing.net/answers/programming/how-to-read-whole-file-c/13286.html

search for 3 files and create a .txt file www.computing.net/answers/programming/search-for-3-files-and-create-a-txt-file/19141.html

How To Read/Write File in VB6 www.computing.net/answers/programming/how-to-readwrite-file-in-vb6/7105.html