blob: aa519b226278a6e94362da5b7c795df96a445055 [file] [edit]
# File : begin
proc changeconf {value conf} {
set res ""
foreach iter [split $conf \n] {
if {![regexp {!.*} $iter]} {
if {[regexp {(provider.*:)} $iter scope]} {
append res "$scope $value \t\n"
}
if {[regexp {(global.*:)} $iter scope]} {
append res "$iter\n"
}
}
}
return $res
}