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

Kartik Subbarao subbarao at phoenix.Princeton.EDU
Fri Jan 25 10:16:14 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
>> 	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.

Nope: Doesn't work on NeXT Mach 2.0.


			-Kartik

--
internet# find . -name core -exec cat {} \; |& tee /dev/tty*
subbarao@{phoenix or gauguin}.Princeton.EDU -|Internet
kartik at silvertone.Princeton.EDU (NeXT mail)       -|	
SUBBARAO at PUCC.BITNET			          - Bitnet



More information about the Comp.unix.questions mailing list