autoexpect
Generate a script from watching a session. More information: https://manned.org/autoexpect.
- Spawn a shell and generate a script from it:
autoexpect
- Run a command and generate a script from it:
autoexpect
- Run a command, generate a script, and save the script to a specified file:
autoexpect -f
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
