`set completion-ignore-case on' does not work well for the first word on command line

2008-02-14 Thread Jian Wang
When using Bash, I often turn on the `completion-ignore-case' option of readline. It works fine for most cases but sometimes it does not work as expected when completing the first word on the command line. For example, there is a bash script ~/MyDir/Foo.sh, on command line, when I input ~/my and th

Re: `set completion-ignore-case on' does not work well for the first word on command line

2008-02-17 Thread Jian Wang
On Feb 17, 2008 5:21 AM, Chet Ramey <[EMAIL PROTECTED]> wrote: > Jian Wang wrote: > > When using Bash, I often turn on the `completion-ignore-case' option of > > readline. It works fine for most cases but sometimes it does not work as > > expected when completi

Re: `set completion-ignore-case on' does not work well for the first word on command line

2008-02-17 Thread Jian Wang
On Feb 18, 2008 3:59 AM, Chet Ramey <[EMAIL PROTECTED]> wrote: > Jian Wang wrote: > > On Feb 17, 2008 5:21 AM, Chet Ramey <[EMAIL PROTECTED] > > <mailto:[EMAIL PROTECTED]>> wrote: > > > > Jian Wang wrote: > > > When using Bash, I oft

Re: [bash 3.2.39] File descriptor 10 is always duplicated from 0 and cannot be closed

2008-10-31 Thread Jian Wang
On Fri, Oct 31, 2008 at 14:59, Chris F.A. Johnson <[EMAIL PROTECTED]>wrote: > On 2008-10-31, Clark J. Wang wrote: > ... > > # read line <&11<--- test with fd 11 > > bash: 11: Bad file descriptor > > # > > You haven't opened file descriptor 11: > You're right. I just want to show the differ

Re: [bash 3.2.39] File descriptor 10 is always duplicated from 0 and cannot be closed

2008-10-31 Thread Jian Wang
On Fri, Oct 31, 2008 at 14:18, Clark J. Wang <[EMAIL PROTECTED]> wrote: > Hi, all: > > When I was doing some testing I found the file descriptor 10 is always > duplicate of fd 0 and it cannot be closed. > > See the following commands: > > # echo $BASH_VERSION > 3.2.39(1)-release > # read line <&10