<div class="gmail_quote">On Fri, Nov 20, 2009 at 11:00 AM, Andrew Byrd <span dir="ltr"><<a href="mailto:andrew@fastmail.net">andrew@fastmail.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Ideally there would be no need for a separator character, because the<br>
same key could be specified several times for one filter. However,<br>
Osmosis stores task parameters in a hashmap, so each parameter can<br>
have only one value per task. This means that having the same one<br>
appear several times ( --tag-filter key=x key=y ... ), while it would<br>
be convenient and easily readable, is contrary to the design of<br>
Osmosis. Separator character seems unavoidable.<br></blockquote><div><br>Yep, could be tricky to allow a task parameter to be specified multiple times.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
The wildcard character, the '=' character, and the separator must be<br>
escaped somehow. We cannot use \= because Osmosis will still split the<br>
parameter on the '=' character. Maybe something like @ASTERISK @COMMA<br>
@EQUALS and a double @@ to really insist on a true at character.<br></blockquote><div><br>If you think the Osmosis current behaviour of splitting at '=' is too simplistic, feel free to enhance it to allow the '\=' to be escaped.<br>
<br>Brett<br><br></div></div>