bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash-completion between do and done


From: Chris F.A. Johnson
Subject: Re: bash-completion between do and done
Date: Sat, 5 Nov 2011 03:13:32 -0400 (EDT)
User-agent: Alpine 2.00 (LMD 1167 2008-08-23)

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

[Prev in Thread] Current Thread [Next in Thread]