ksh style [[ conditional does not match patterns

2005-12-08 Thread Michael Wardle
In the SHELL GRAMMAR section of the bash man page, the [[ expression ]] syntax is described: When the == and != operators are used, the string to the right of the operator is considered a pattern and matched according to the rules described below under Pattern Matching. The P

dynamic-complete-history documentation change

2005-09-12 Thread Michael Wardle
Hi It seems that the binding for Alt-Tab changed from dynamic-complate-history to tab-insert around Bash 3.0. The bashref.info file as found in Debian and the current version 3.0 Bash source tarball on http://ftp.gnu.org/gnu/bash/ both still state the default binding for dynamic-complete-his

Re: nullglob option breaks complex parameter expansion/deletion

2005-07-05 Thread Michael Wardle
I've come to a better understanding of how expansion occurs and now realize that this is not a bug. Thanks to Chet for his time in responding to my messages. ___ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash

Re: nullglob option breaks complex parameter expansion/deletion

2005-07-02 Thread Michael Wardle
On Sat, 2005-07-02 at 12:24 -0400, Chet Ramey wrote: > Michael Wardle wrote: > > Hi Chet > > > > Thanks for your very prompt reply. > > > > I understand that globbing is happening, but I don't understand why > > deleting a parameter should occur with n

Re: nullglob option breaks complex parameter expansion/deletion

2005-07-02 Thread Michael Wardle
> I also noticed in the POSIX standard that quoting the word part should > cause it to be literal and prevent globbing. If I try this in bash, I > get the same result as in my original message, that is: > > $ shopt -s nullglob > $ connectioninfo='${HOST%%".*"} ${USER}' > $ echo $connectioninfo >

Re: nullglob option breaks complex parameter expansion/deletion

2005-07-02 Thread Michael Wardle
Hi Chet Thanks for your very prompt reply. I understand that globbing is happening, but I don't understand why deleting a parameter should occur with nullglob set if the parameter matches but the word to delete doesn't. The bash behavior seems to make this construct useful only for file name del