worldbank/ietoolkit

`iedorep`: Need to handle `clear all` dropping programs

Closed this issue · 0 comments

It's possible to do something like:

if (inlist("`lcmd'","clear")) & strpos(`"`macval(line)'"'," all")  {
  local fwrite_line = subinstr(`"`fwrite_line'"'," all"," ",1)
  local fcheck_line = subinstr(`"`fcheck_line'"'," all"," ",1)
}

but it's really not thorough. see 932ec97 for the implementation in the prior version -- can we manage that here? (932ec97#diff-36d36e7ffbaaeb3a44fc03eb77b0e9f5347f491c7fcedb2a3f732315323ecb60)