[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with ~ and ~~



In article <20001214202053.A675@bree.net>,
DaVinci <bombadil@wanadoo.es> writes:

>  When trying:

>  	; a = {~~ (foo.c foo.x bar.h) *.[ch]}
> 	; echo $a

>  I get:

>  	{~~ (foo.c foo.x bar.h) *.[ch]}

>  Is this normal?.


Try this instead:

S rittle@latour; a = <={~~ (foo.c foo.x bar.h) *.[ch]}
S rittle@latour; echo $a
foo c bar h

The ~~ operator returns a list value.  ``The return value of a command
is obtained with the construct: <={ command }''