DarkMatter in Cyberspace
  • Home
  • Categories
  • Tags
  • Archives

Wildcards in Spawn Command


The following script works fine.

#!/usr/bin/expect spawn bash -c "ls -l *.exp" expect eof

Questions

  1. Why I can't remove "expect eof"?

  2. Why I can't remove "bash -c"?



Published

Aug 23, 2013

Last Updated

Aug 23, 2013

Category

Tech

Tags

  • expect 10

Contact

  • Powered by Pelican. Theme: Elegant by Talha Mansoor