Posted by: Anonymous Coward
on August 04, 2006 02:25 PM
I'll be the third one to ask you: Do you have any idea what you're talking about?
Have you ever even tried to use expect to see what it is capable of? Or have you just dismissed it completely because "it's bundled with tcl" (I have no idea what that's supposed to mean)?
If you'd just take a few minutes to familiarize yourself with expect, you'd understand that to have any useful functionality beyond '<tt>expect $this</tt>' and '<tt>send $that</tt>', you need a pretty much full-featured programming language. And for that you need an interpreter, which by the way is a very complex piece of software to design and implement from scratch.
To me it seems very UNIX-like that Don Libes used an existing interpreter for expect instead of creating yet another half-arsed scripting language to haunt mankind.
Btw, if you're just making excuses because you're too lazy to learn tcl, go ahead and use <a href="http://sourceforge.net/projects/expectpy/" title="sourceforge.net">expectpy</a sourceforge.net>
or <a href="http://sourceforge.net/projects/expectperl/" title="sourceforge.net">expect.pm</a sourceforge.net>
. Same functionality, different kind of bloat. Would these be "more standalone" for you?
Re:Not UNIX Compliant
Posted by: Anonymous Coward on August 04, 2006 02:25 PMI'll be the third one to ask you: Do you have any idea what you're talking about?
Have you ever even tried to use expect to see what it is capable of? Or have you just dismissed it completely because "it's bundled with tcl" (I have no idea what that's supposed to mean)?
If you'd just take a few minutes to familiarize yourself with expect, you'd understand that to have any useful functionality beyond '<tt>expect $this</tt>' and '<tt>send $that</tt>', you need a pretty much full-featured programming language. And for that you need an interpreter, which by the way is a very complex piece of software to design and implement from scratch.
To me it seems very UNIX-like that Don Libes used an existing interpreter for expect instead of creating yet another half-arsed scripting language to haunt mankind.
Btw, if you're just making excuses because you're too lazy to learn tcl, go ahead and use <a href="http://sourceforge.net/projects/expectpy/" title="sourceforge.net">expectpy</a sourceforge.net>
or <a href="http://sourceforge.net/projects/expectperl/" title="sourceforge.net">expect.pm</a sourceforge.net>
. Same functionality, different kind of bloat. Would these be "more standalone" for you?
#