Subject: Re: fix for pd-ksh globbing
To: None <tech-userlevel@netbsd.org, woods@weird.com>
From: Simon J. Gerraty <sjg@crufty.net>
List: tech-userlevel
Date: 01/25/2002 11:40:32
> How about '#'?  Emacs creates temporary files beginning with '#'.  With
> your patch I can expand them better, but using the result is still
> impossible.  In particular even if I escape the leading '#' ksh will

Since '#' is a comment char to the shell, I always use ./#* to avoid
problems.

> BTW, I don't know if it was intended or not, but your patch has the very
> pleasant side-effect of allowing filname expansion within quoted strings
> to work, which for the above example results in a correct string if

That's what should happen, yes.  I didn't specifically setout to fix
that case, but its not surprising that it now works.

Thanks for the input.  I can't promise I'll fix anything further - it
took a number of years of daily anoyance to get around to fixing this
one ;-)  but you never know.

BTW Michael says the fix should be in the next release of pdksh.

--sjg