Skip to content

Add -E tag:name:value syntax to get a value from name/value pairs#51

Open
gstaples wants to merge 1 commit into
keenerd:masterfrom
gstaples:master
Open

Add -E tag:name:value syntax to get a value from name/value pairs#51
gstaples wants to merge 1 commit into
keenerd:masterfrom
gstaples:master

Conversation

@gstaples
Copy link
Copy Markdown

This is support name/value pairs like this:

-E tag:value:value is for extracting  name/value pairs.  Given:
   [{ tagname: color, tagvalue: red },
    { tagname: texture, tagvalue: squishy },
    { tagname: height, tagvalue: 10ft }]
   jshon -a -E tagname:height:tagvalue -> 10ft

It's not beautiful, but I'm happy to work with you on the syntax.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant