[Omake] SVN Commit: OMake Build System (Rev. 9061)
Jason Hickey
jyh at cs.caltech.edu
Tue Apr 11 22:42:18 PDT 2006
Aleksey Nogin wrote:
> Hm, I am starting to feel overwhelmed by all the different choices that
> we need to make and even more varying consequences that we'd get
> depending on these choices. May be the two of us should try to write
> some sort of matrix of the most important choices on the whiteboard
> tomorrow and see if we can come up with something reasonably consistent?
LOL, don't worry, it isn't hard to come up with something consistent.
In fact, it is quite consistent now, though we may not like this
particular policy. Don't worry much about the implementation.
I propose the following policy (1.5).
- Array elements are glob-expanded.
- Array elements are not expanded for other shell characters.
This is the middle ground between 1) full element quoting, and 2)
arbitrary splitting/merging of array elements.
The semantics of 1) is fine (what we do now), but we may not like it.
The semantics of 2) is unacceptable. The semantics of 1.5 is also fine,
and I believe it is the right option.
Jason
X[] =
ls
* # May expand to multiple files
Y[] =
ls
$'*' # Quoted, no expansion
Z[] =
ls
*$'?' # * is expanded, ? is literal
--
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