Results 1 to 1 of 1

Thread: Text Based Pattern Searching ? Help

  1. #1
    Join Date
    May 2008
    Thanked 0 Times in 0 Posts

    Default Text Based Pattern Searching ? Help

    I have huge dump of txt files contains various unix based commands output. Now i have to read those logs.
    Each text file give me similar pattern like this

    + cat /etc/passwd //command

    + uname -a //command

    Now interesting is that fact all the command begin with the '+' symbol in the front. I want to interpret these file in such a way that the output comes to a html file where in i can just see the output being read from a text file into seperate table cells of a html page.
    I have tried to work with search functions combined with reg ex . however i m unable to put a end criteria to the output.

    I hope someone can help me in developing the code for this.
    Last edited by Alibaba; 05-25-2008 at 06:51 PM. Reason: Textual Mistake


Posting Permissions

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