bug-bash
[Top][All Lists]
Advanced

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

Re: tab expansion on xx=yy some_command[TAB]


From: Chet Ramey
Subject: Re: tab expansion on xx=yy some_command[TAB]
Date: Mon, 25 Aug 2003 08:50:27 -0400

> Bash Version: 2.05b
> If bash can expand command names here
> $ xyz; some_command[TAB]
> then it should be able to do it here too:
> $ qqq=rrr some_command[TAB]

It would be nice.  In fact, if you look at the source, you find (in
bashline.c):

  else
    {
      /* This still could be in command position.  It is possible
         that all of the previous words on the line are variable
         assignments. */
    }

Contributions to fill in the blank are welcome.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
                                                Live...Laugh...Love
Chet Ramey, ITS, CWRU    chet@po.CWRU.Edu    http://cnswww.cns.cwru.edu/~chet/




reply via email to

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