commit | fa41cb6792ddcf39b800217337d7910d586ef922 | [log] [tgz] |
---|---|---|
author | Amaury Denoyelle <adenoyelle@haproxy.com> | Thu Oct 01 14:32:35 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Oct 01 17:24:14 2020 +0200 |
tree | eb4688b085ccd45ee40ddf9c6eaa741a83550baa | |
parent | ac32b4b98ca29e0e065a8e6725f1265adab51a33 [diff] |
MINOR: tools: support for word expansion of environment in parse_line Allow the syntax "${...[*]}" to expand an environment variable containing several values separated by spaces as individual arguments. A new flag PARSE_OPT_WORD_EXPAND has been added to toggle this feature on parse_line invocation. In case of an invalid syntax, a new error PARSE_ERR_WRONG_EXPAND will be triggered. This feature has been asked on the github issue #165.