expect-lite Buzz
Author: Craig Miller
Description: Automation for the rest of us
Keywords: test testing automation expec-lite script expect project google

# expect-lite ## Automation for the rest of us |  |  | ## What is being said about expect-lite? ### From 2008: Linux.com Review Expect is a venerable tool for scripting interactive command-line tools. One normally sees expect coupled with the TCL programming language -- for example, in the DejaGNU test environment. Expect-lite is a wrapper for expect designed to allow you to capture an interactive session more directly mapped into a script. The expect-lite language also includes simple conditionals and other programming language elements, and can be readily mixed with bash programming. [more] ### From 2010: Lee Schlesinger's Blog Developer Craig Miller created expect-lite after leaving a job where he worked with a proprietary automation language. "I wanted to use a more standardized language like Expect, but it uses just too many curly braces, and it is easy to create cryptic code, which is hard to debug. I wanted to create a simple language that focused on getting the job done, rather than making users spend hours learning and debugging. Expect seemed like a good place to start. [more] Craig Dunn's Blog I’ve recently been playing around with expect-lite, a wrapper for expect that allows you to automatically login to hosts with telnet or ssh to run commands on remote hosts without getting too much under the bonnet of expect syntax. [more] Planet Ubuntu.es When we want to write scripts that automatically perform a task such as connecting to a server and write the password without requiring us to be ahead, we often resort to use " expect ". But using a priori expect is not as simple and requires some knowledge, to facilitate our work, we can now also expect-lite. expect-lite is a simple automation tool. Written in expect, this deiseņada to map directly interactive terminal session in a script automation. Basically automation scripts can be created by cutting and pasting text from one terminal and adding the characters ">" to what we send and "<" to what we expect. So expect no knowledge is required. [more, translated from Spanish] ### From 2012: antiCisco blogs Unfortunately, most network equipment does not have any API for remote management, and if so, often writing for a client to send multiple commands did not justify the effort. Fortunately, there has long been a tool to automate such tasks called expect. And there is a more convenient wrapper to him under the name expect-lite, which we are reviewing today. For example, we write a script that will start the switch ports you want us to VLAN. [more, translated from Russian] Andy Han's Blog (based in Beijing) I need to update more than 2000 Redhat servers' resolv.conf file expect is a good tool to achieve this, but expect-lite is cooler :) [more] ## Where to get it? The most recent version is always available on SourceForge: Download expect-lite

27 June 2012
http://expect-lite.sourceforge.net/
this document for version 4.3.1 and above