How to place a comma in 'a{b,c,d}e' metanotation

terryl at sail.LABS.TEK.COM terryl at sail.LABS.TEK.COM
Fri Jan 25 10:39:40 AEST 1991


In article <20630:Jan2421:21:3091 at kramden.acf.nyu.edu> brnstnd at kramden.acf.nyu.edu (Dan Bernstein) writes:
>If you want to quote the comma, quote the comma.
>
>  % echo a{b,c,d,','}e
>  abe ace ade a,e


     OK, here goes on MY system:

% echo a{b,c,d,','}e
abe ace ade ae ae

>> 	xset fp+ /path/{dir1\,,dir2\,,dir3}
>
>  % echo /path/dir{1',',2',',3}
>  /path/dir1, /path/dir2, /path/dir3
>Disclaimer: This is probably portable but I don't know that it is.

      Portable if the bug which was previously described if fixed. I looked at
our C-shell sources, and it had the bug in it.....

__________________________________________________________
Terry Laskodi		"There's a permanent crease
     of			 in your right and wrong."
Tektronix		Sly and the Family Stone, "Stand!"
__________________________________________________________



More information about the Comp.unix.questions mailing list