[Omake] SVN Commit: OMake Build System (Rev. 8888)
Aleksey Nogin
nogin at cs.caltech.edu
Wed Mar 15 14:28:10 PST 2006
On 15.03.2006 14:21, Jason Hickey wrote:
> Aleksey Nogin wrote:
>
>>>> X[] =
>>>> echo
>>>> foo bar*
>
>
> Another point the mention, I assume this is globbing only, not for shell
> operators.
>
> osh>X[] =
> echo
> Hello
> >
> /dev/null
>
> osh>$X
> Hello > /dev/null
>
> I believe this choice is appropriate, that command-line parsing is static.
But do you still allow passing full command lines in regular variables?
I want to be able to do things like
pipeline{text, where) =
echo $(text) $(where)
pipeline(foo, > /tmp/foo)
pipeline(bar, | sendmail bar)
I do not mind having to add some sort of "unquote", but it would be nice
to retain this general functionality in some reasonable way (the osh
script uses it, for example).
P.S. On the subject of unquote - do you [plan to] provide some easy way
of turning a quotation into something that would be broken apart?
--
Aleksey Nogin
Home Page: http://nogin.org/
E-Mail: nogin at cs.caltech.edu (office), aleksey at nogin.org (personal)
Office: Moore 04, tel: (626) 395-2200
More information about the OMake-Devel
mailing list