header
Classes > Programming > TCL-102: Tcl/Expect Programming

Length of Course: 3 days

Overview:
This three-day programming class provides programmers the knowledge to create Tcl/TK scripts. Students will develop experience to automate system tasks via hands-on programming exercises in conjunction with the lecture.

Prerequisites:
Prior to attending this class, students should have the following experience:

  • Programming experience in a structured language (C, C++, Java, Cobol) is required.

Objectives:
Upon successful completion of this course, students should be able to:

  • use scalar, list and array variables
  • manipulate strings
  • use regular expressions to search for and replace sub-strings within a string
  • use flow control statements such as if, while, switch, for and foreach
  • create and use procedures including handling the scope of variables
  • control the file system and processes from within a Tcl script
  • use Expect to automate scripts
  • send processed data with the send command
  • receive data from processes with the expect command
  • handle multiple processes with Expect
Modules:

Module One Introduction to Tcl/Tk
Module Two Tcl Basics
Module Three Variables
Module Four Lists
Module Five Arrays
Module Six Strings
Module Seven Regular expressions
Module Eight Flow control
Module Nine Procedures
Module Ten File & Processing Handling
Module Eleven Introduction to Expect
Module Twelwe Using the send command
Module Thirteen Using the expect command
Module Fourteen Using globs and regular expressions with Expect
Module Fifteen Processing handling
Module Sixteen Handling user input and controlling output
HOME | CLASSES | FACILITY | CLASSROOM RENTAL | DIRECTIONS | EMPLOYMENT | CONTACT US
© Technical Training Resources - All Rights Reserved