linux - expect vs tcl , what is better for automation tasks -


i want make automation script

  1. auto rpm installation
  2. long packages installation ( pkgs list many question in progress )
  3. auto answering on application installation questions

what better task tcl or expect ?

what uniq in tcl , better expect?

expect tcl plus few commands (notably spawn, expect , send) , designed automating things. tcl's programming language that's designed making scriptable tools with.

given that, automating rpm installation (especially when there's quite few interactive questions) right choice expect. remember: can use power of tcl inside expect need it. you've got full programming language available you. lets really complicated stuff if you're inventive…


Comments