Results 1 to 4 of 4
Hi Gurus,
I have 2 files program.txt and out.txt. The program.txt has the list of all the application but out.txt has the message for all the applications which are started ...
- 05-18-2010 #1Just Joined!
- Join Date
- Dec 2007
- Posts
- 10
Searching and comparing string
Hi Gurus,
I have 2 files program.txt and out.txt. The program.txt has the list of all the application but out.txt has the message for all the applications which are started successfully. Based on the following information I need to fine the application which was failed or not running.
content of program.txt
ABC
DEF
NMO
STO
XYZ
content of out.txt
Application ABC is Running
Application DEF is Running
Application NMO is Running
Application XYZ is Running
I need an output file with the message
Application STO is not Running
Appreciate your help.
Thanks
-Naveed-
- 05-18-2010 #2Linux User
- Join Date
- Jan 2006
- Posts
- 414
Doing homework are we?
- 05-18-2010 #3Just Joined!
- Join Date
- Dec 2007
- Posts
- 10
Please help on that as I am very new to Linux Programming.
Thanks
-Naveed-
- 05-19-2010 #4
This sounds a lot like a homework question. If it is not, please send a private message to me and I will re-open this thread.
DISTRO=Arch
Registered Linux User #388732


