LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News
User Name
Password
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.

Notices


Reply
  Search this Thread
Old 05-25-2010, 06:10 AM   #1
LXer
LXer NewsBot
 
Registered: Dec 2005
Posts: 100,385

Rep: Reputation: 102Reputation: 102
LXer: Automation With Expect, an Open Source Software Utility


Published at LXer:

I recently came acrossexpect (the expect package in Debian and Ubuntu): a powerful utility that can script interactive operations. If you're not familiar with TCL syntax, you can get autoexpect from Wi-Fizzle.com. This spawns a shell, and then records everything you do in that shell. Hit Ctrl-C when you're done, and then either run the generated expect script as-is, or edit it to tidy it up a bit. In particular, autoexpect records keystrokes one by one, whereas you can put them all in at once. It records the full prompt, where the $ at the end may suffice.

Read More...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Command line automation with Expect-lite LXer Syndicated Linux News 0 03-10-2008 05:20 PM
LXer: Expect more open source enterprise apps this year: analysts LXer Syndicated Linux News 0 01-21-2007 12:21 PM
LXer: Review: Open-Source Encryption Utility Frustrates Phishers LXer Syndicated Linux News 0 01-05-2007 09:03 PM
LXer: Vcs expect open source to be default option LXer Syndicated Linux News 0 07-04-2006 10:21 PM
LXer: Services automation solution goes open source LXer Syndicated Linux News 0 05-12-2006 11:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News

All times are GMT -5. The time now is 08:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration