Subject: Re: brace expansion and ksh?
To: George Abdelmalik <gabdelmalik@avdat.com.au>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-help
Date: 10/11/2007 21:14:09
On Fri, 12 Oct 2007, George Abdelmalik wrote:

> > Even simple example in ksh doesn't work for me:
> >
> > $ echo a{b,c,d,e}f
> > a{b,c,d,e}f
> 
> How about when you invoke a ksh with the braceexpand option.
> 
> $ ksh -o braceexpand
> $ echo a{c,b{X,Y},d}e
> ace abXe abYe ade
> $ uname -a
> NetBSD tb10.avdat.com.au 3.1 NetBSD 3.1 (tb10) #2: Wed Jan 24 12:37:14 EST 
> 2007  root@tb10.avdat.com.au:/mnt/netbsd/obj/sys/arch/i386/compile/tb10 i386

Thanks. That worked.

I will now use:	set -o braceexpand

The man page has documentation for brace expand in at least four different 
places. So I will probably work on that.

Next I need to figure out PR 34724
http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=34724

I have ${PWD} in my PS1 so long current directories make it so I can't 
even see what I am typing. It is very inconvenient.

  Jeremy C. Reed