Need an expect script or p5-*Expect* to lessen keystrokes upon large ports tree changes

Jeffrey Bouquet jeffreybouquet at yahoo.com
Sat Apr 2 13:36:03 UTC 2016


Today  svn-of-ports has about 600 (tc,mc) /200 (r)  = 800 responses
required (tree and etc conflicts)

--------------------------------------------------------------------------------------------

1...

Select:
 (mc) prepare for updating moved-away children, if any (recommended),
 (p) postone, (q) quit resolution, (h) help:

[ I need expect to return mc, and a RET ]  IF expect works upon svn
responses

2...
 
Select:
 (p)    (df)   (e)   (m)
 (mc)          (tc)
  (s)

[ I need  expect to return tc , and  a RET]  Sorry for the omitted svn
context

3...

Select:
 (r) (p) (q) (h)                          [ sorry for the omitted svn
context]

[I need expect to return r , and a RET ]

 

---------------------------------------------------------------------------------------------------------------------------------

Writing this request about 100/800 done for today, so cannot help this
time, not
urgent --  better yet if it was integrated into svn  as a feature...

Seems  that, once-a-year or so, it is way too time consuming all of  a
sudden, and sometimes
exceedingly inconvenient -- so it would be nice to have a backup plan.

I will provide context in a followup, after a few days, if that is necc.
for some expert or
semi-expert in expect to craft a script. 

Thanks in advance, or any other ideas appreciated.  Not wanting to waste
anyone's time.

Jeff


More information about the freebsd-ports mailing list