Find the answer to your Linux question:
Results 1 to 2 of 2
hi all i have a text file like this [1]Home > [2]F&O > Watch All contracts of NIFTY As on Hours IST Instrument Type Underlying Expiry Date Option Type High ...
  1. #1
    Linux Newbie
    Join Date
    Feb 2007
    Location
    hyderabad, india
    Posts
    247

    text between the line

    hi all
    i have a text file like this

    [1]Home > [2]F&O >
    Watch

    All contracts of NIFTY
    As on Hours IST

    Instrument Type Underlying Expiry Date Option Type High
    Price Low Prev Close of contracts traded
    Turnover Lakhs Underlying Value

    [5]AAAAA [6]GGGGGG [7]25OC200 - - 5389.80 5203.10 5673.15 5255.00
    89085 234115.83 5143.90
    [8]AAAAA [9]GGGGGG [10]29NO2007 - - 5389.00 5211.00 5674.00 5269.95
    5265 13869.14 5143.90
    [11]BBBBBB [12]GGGGGG [13]25OC200 [14]CE [15]5600.00 74.00 15.00
    168.60 34.05 810 2281.01 5143.90
    [16]AAAAA [17]GGGGGG [18]27DE200 - - 5410.00 5125.00 5664.05 5265.00
    694 1828.64 5143.90

    [121]Top
    [1]http://www.google.com/
    [2]http://www.google.com/
    [7]http://www.google.com/
    [79]http://www.yahoo.com/
    [2447]http://www.google.com/
    [700]http://www.yahoo.com/

    i this text file i have to read only the text below
    "Turnover Lakhs Underlying Value"
    and above "top".

    the remaning part of the text delete and save the text file.
    means i wanna data between "Turnover Lakhs Underlying Value" and "top".


    is there any way ( any script)
    please help me

    thank you in advance
    "Relationships are built on trust and communication"

  2. #2
    Linux Engineer wje_lf's Avatar
    Join Date
    Sep 2007
    Location
    Mariposa
    Posts
    1,192
    munna_dude, I'm addressing this question in your other thread here.

Posting Permissions

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