Bookmark Topic Watch Topic
  • New Topic

to read different lines in text files  RSS feed

 
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
  • Report post to moderator
hi.......
suppose i have a text file
Note that using agent groups is probably not what you want. Strategies do
; not propagate down to the Agent system so if you want round robin, least
; recent, etc, you should list all the agents in this file individually and not
; use agent groups.
; available, but consider with penalty
member => Agent/0
member => Agent/0
member => Agent/1001
member => Agent/1002
;:setting ebug:true
;:setting:log:true

[peoplesys]
setting:active:true
setting:function redictive
setting:calltoday:false
setting:usednc:false
setting:maxratio:2
setting:maxabandons:3.0
setting:maxlines:23
like this.......
i want read this file.....read in the sense... if the setting active:true..i have to read the max ratio and max lines....how can i read this lines alone ......if setting active is false...no need to read the file...can someone give me a sample coding...for this type
 
Rancher
Posts: 42975
76
  • Mark post as helpful
  • send pies
  • Report post to moderator
This seems to be essentially the same question as this one, where you got answers already. Any followup questions should go into that thread.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!