2010-02-12 autoexpectでexpectのスクリプトを自動生成 linux expectなんてまずやらないんだけど、見つけたのでメモ。ubuntuだとexpect-devパッケージに/usr/bin/expect_autoexpectでインストール。 $ expect_autoexpect ftp ftp.exmaple.comとかで普通にftpすると、script.expに記録される。 expectのファイルを指定する場合は-fで。