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

Re: What am I missing?

2007-09-02 Thread abi
I recently submitted this e-mail but found that by using the eval command, and adding a slash (\) before the quotation mark fixed everything. Disregard the question below. > > Hi, > > I am having trouble running a command in a shell script that runs without > a problem on the command line. Consid

What am I missing?

2007-09-02 Thread abi
Hi, I am having trouble running a command in a shell script that runs without a problem on the command line. Consider the following script: #!/bin/bash entry="/cygdrive/c/Documents\ and\ Settings/arroyoa/Desktop" exclude=