trying to parse a file...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • bruce

    #1

    trying to parse a file...

    hi,

    i'm trying to modify an app (gforge) that uses python to do some file
    parsing/processing...

    i have the following shell file that uses python. if i understand it
    correctly, it's supposed to modify the 'viewcvs.conf' file, and
    replace/update the section with 'svn_roots'.

    it isn't working correctly... can anybody tell me what i need to do?
    basically, i'd like to continually add to the svn_root: block with an
    additional line as required. also, can someone tell me what i'd need to do,
    if i wanted to remove a line of text from the 'svn_root' block if i had a
    given 'test_x:'

    thanks

    bruce
    bedouglas@earth link.net

    -----------------------------------------------------------
    viewcvs.conf:
Working...