[bug #35063] Suggest conventional $(%XX) syntax for special characters

2012-01-28 Thread Eldar Abusalimov
Follow-up Comment #3, bug #35063 (project make): I would vote up for just adding two new functions, i.e. `url-encode` and `url-decode`, without altering the basic syntax. Both functions are simple enough to implement. Thus, the suggested usage is the following: _space := $(url-decode %20) The

[bug #35063] Suggest conventional $(%XX) syntax for special characters

2012-01-28 Thread David Boyce
Follow-up Comment #4, bug #35063 (project make): I don't agree with this, and I don't know what you mean about altering the basic syntax. The original proposal makes no change to syntax (although I see that I used the word incorrectly in the subject line), it adds a new range of built-in

[bug #35063] Suggest conventional $(%XX) syntax for special characters

2012-01-28 Thread Eldar Abusalimov
Follow-up Comment #5, bug #35063 (project make): Well, when saying altering the basic syntax I mean changing the semantics of '$(...)' notation, which currently stands for expanding a variable reference or invoking a built-in function. Personally for me it is unclear what '$(%20)' or '$(.%20)'

[bug #35063] Suggest conventional $(%XX) syntax for special characters

2012-01-28 Thread David Boyce
Follow-up Comment #6, bug #35063 (project make): I think the root of our disagreement is in the goals. This is not at all about adding url encode/decode capability to make; it's about a consistent, safe way of getting special characters past the make parser and I suggested url encoding (aka