D 2015-07-12T19:18:37.154
J icomment bingo,\syou're\sright:\sforget\sabout\smy\slengthy\sscript\sand\sit's\sdata\sfiles.\sa\sminimal\sexample\sscript\sneed\sonly\scontain\sthe\ssingle\sline\s(e.g.):\r\n\r\n\sclock\sscan\s2015-07-12\s-format\s%Y-%m-%d\r\n\r\nrunning\sthis\sscript\swith\s`expect\s--D\s1\sscriptname'\sand\sissuing\sthe\s`c'\scommand\sproduces\sthe\smemfault\sjust\sfine.\ssame\sif\syou\ssource\sa\sscript\scontaining\sthe\sthree\slines\r\n\r\npackage\srequire\sExpect;\r\ndebug\s1;\r\nclock\sscan\s2015-07-12\s-format\s%Y-%m-%d\r\n\r\nfrom\swithin\stclsh\sand\sthen\sissue\sthe\s`c'\sthere.\shope\sthere\sis\sa\schance\sthat\sit\scan\sbe\sfixed.\sit's\sa\spity\sthat\sExpect\schokes\son\sthis.\sapart\sfrom\sit's\s"real"\spurpose\sExpect\sis\sthe\sonly\s(free)\susable\sinteractive\stcl\sdebugger\sI'm\saware\sof.\s(if\sthere\sare\sother\sgood\sones\sa\shint\swould\sbe\sappreciated...)
J login anonymous
J mimetype text/plain
K 4f51fb37428603a028f505129f6978c2445fbc08
U anonymous
Z ed258bb78f2d144bde61871f9ef04fd7