Re: Readline history and bash's read -e

2007-09-02 Thread Chet Ramey
Phil Endecott wrote: > Dear Bash and Readline Experts, > > I have a simple shell script that reads user commands in a loop using > "read -e". -e enables readline, but not its history feature. Is there > any way to get readline history with bash's read builtin? Sure. You can do it entirely with

Re: Readline history and bash's read -e

2007-09-02 Thread Mike Stroyan
On Sat, Sep 01, 2007 at 12:11:58AM +0100, Phil Endecott wrote: > Dear Bash and Readline Experts, > > I have a simple shell script that reads user commands in a loop using > "read -e". -e enables readline, but not its history feature. Is there > any way to get readline history with bash's read bu

Re: Readline history and bash's read -e

2007-09-02 Thread Chris F.A. Johnson
On 2007-08-31, Phil Endecott wrote: > Dear Bash and Readline Experts, > > I have a simple shell script that reads user commands in a loop using > "read -e". -e enables readline, but not its history feature. Is there > any way to get readline history with bash's read builtin? > > I wouldn't want t