[Omake] SVN Commit: OMake Build System (Rev. 8888)

Jason Hickey jyh at cs.caltech.edu
Wed Mar 15 14:05:25 PST 2006


Aleksey Nogin wrote:
> Like if one wants to run
> 
> echo "foo bar"*
> 
> then it should be possible to do
> 
> X[] =
>   echo
>   foo bar*
> 
> $X

I've been thinking the same, and actually the approach is probably more 
modular.  That is, it is up to the original definition whether to allow 
globbing, rather than if the value ever gets added to an array.

Another example:

    osh> X[] =
       echo
       $(dir *)/boo
       *

    osh> $X
    */boo ...files...

Jason

-- 
Jason Hickey                  http://www.cs.caltech.edu/~jyh
Caltech Computer Science      Tel: 626-395-6568 FAX: 626-792-4257


More information about the OMake-Devel mailing list