[Help-bash] How to input TAB in scripts to testing things like command c
From:
Peng Yu
Subject:
[Help-bash] How to input TAB in scripts to testing things like command completion without manual intervention?
Date:
Sat, 5 Dec 2015 12:16:52 -0600
Hi, I find that the "expect" scripting language may help me to feed
TAB to bash so that I can test complete completion with automatic
scripts. But I am wondering if there is something native to bash so
that I can test TAB command complete more easily. Does anybody know?
Thanks.
http://www.thegeekstuff.com/2010/10/expect-examples/
--
Regards,
Peng