Find the answer to your Linux question:
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 ...
  1. #1
    Just 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-

  2. #2
    Linux User
    Join Date
    Jan 2006
    Posts
    414
    Doing homework are we?

  3. #3
    Just Joined!
    Join Date
    Dec 2007
    Posts
    10
    Please help on that as I am very new to Linux Programming.

    Thanks
    -Naveed-

  4. #4
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,230
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...