User Profile

Collapse

Profile Sidebar

Collapse
krajeevk10
krajeevk10
Last Activity: Aug 2 '19, 01:50 PM
Joined: Jul 30 '19
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • krajeevk10
    replied to search line by line and modify file
    Hello, good day

    i Need to change server,tapeserv er,filer for only Set [a] , remaining sets no need to modify, also set [a] line not starting from zero'0', it is some where in file ,so am facing some difficult to apply logic how to search from set [a] only ,also followed 3 lines need to modify ..
    See more | Go to post

    Leave a comment:


  • krajeevk10
    started a topic search line by line and modify file

    search line by line and modify file

    file contain below text

    [a]
    server = abc
    tapeserver = 123
    filer = 456


    [b]
    server = def
    tapeserver = 123
    filer = 456

    [c]
    server = ghk
    tapeserver = 123
    filer = 456


    i want to modify only lines related to [a] , i am looking [a] output like below ..

    [a]
    server = xyz
    tapeserver = 666...
    See more | Go to post
No activity results to display
Show More
Working...