bug-bash
[Top][All Lists]
Advanced

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

Re: complete options not working with read -e


From: Chet Ramey
Subject: Re: complete options not working with read -e
Date: Sat, 18 Dec 2010 22:01:21 -0500
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100802 Lightning/1.0b2 Thunderbird/3.1.2

On 12/17/10 12:24 PM, Bill Duncan, 416-697-9315 wrote:
> I'm writing a script with a command line interpreter and I can most things
> working (eg. history etc.) except for one thing.  The filename completion
> works well for some of the commands, but I'd like to use other completion
> options for others.  Works well from the "real" command line, but I can't
> get it to work properly in my "read -e, eval" loop..

You won't be able to do it.  `read -e' uses only the readline default
completions.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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