On Sat, 5 Nov 2011, Bob Proulx wrote:

Peng Yu wrote:
Current, bash doesn't do command completion between do and done (for loop).
I'm wondering if this feature can be added.

Of course bash does do command completion between do and done.  Can
you give an exact example test case?  On what version of bash?

   I can confirm it on 3.05b, 3.0 and 4.2:

while [ ${n:=0} -lt 5 ]
do
  se<TAB>

  All I get is a beep.

--
   Chris F.A. Johnson, <http://cfajohnson.com/>
   Author:
   Pro Bash Programming: Scripting the GNU/Linux Shell (2009, Apress)
   Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)

Reply via email to