[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] How to input TAB in scripts to testing things like comma
From: |
Greg Wooledge |
Subject: |
Re: [Help-bash] How to input TAB in scripts to testing things like command completion without manual intervention? |
Date: |
Mon, 7 Dec 2015 08:19:40 -0500 |
User-agent: |
Mutt/1.4.2.3i |
On Sat, Dec 05, 2015 at 12:16:52PM -0600, Peng Yu wrote:
> 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.
empty (http://empty.sf.net/) was created to fill this niche.
Your other choices are expect (Tcl) and pexpect (Python).