'expect'에 해당되는 글 1건
- 2009.11.06 expect, tcl
expect, tcl
[ Expect ]
Expect를 사용하여 자동화가 가능하다.
Expect is a program that "talks" to other interactive programs according to a
script. Following the script, Expect knows what can be expected from a program
and what the correct response should be. An interpreted language provides
branching and high-level control structures to direct the dialogue. In addition,
the user can take control and interact directly when desired, afterward returning
control to the script.
o 참고 싸이트
- expect 설명
- The Expect Home Page
- Expect.pm - Expect for Perl
- 예제 두번째
- 예제 한개
o 관련 책
- Exploring expect : a tcl-based toolkit for automating interactive programs : Don Libes
o Tip
1. password에 $이 있으면 안되더라
- set pass [lindex $argv 1] 처럼 lindex를 사용하여 해결할 수 있다.
[ TCL ]
expect를 제대로 쓸려면 tcl을 좀 알아야되고- TCL 기본문법
- 리눅스 Tcl/Tk HOWTO
[ Perl ]