Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 320259

sed is a command-line stream editor for filtering and transforming text.

0
votes
question is old, however for completeness of options, here's jtc based solution: bash $ jtc -pw'<map>l+0' input.json { "tags": { "dynamic": true, "type": [ "char" ] } …
answered Jan 9 by Dmitry L.
0
votes
alternatively, jtc based solution: bash $ jtc -w'<name>l+0' -u'"XXX"' your.json { "contact": [ { "id": 111, "name": "XXX" } ], "email": "xxx", "group": [ …
answered Jan 9 by Dmitry L.
0
votes
Nested structures, namely JSON, must be processed by structure aware (here JSON) routines. Whenever you attempt processing it via (multi) line-aware only routines, you'll be always exposed to false-po …
answered Jan 11 by Dmitry L.
0
votes
$ cat file.json | jtc -x '<InstanceId>l+0[-1]' -y '[InstanceId]' -y "[Key]:<Name>[-1][Value]" -y "[Key]:<cost.centre>[-1][Value]" -y "[Key]:<Owner>[-1][Value]" | sed 's/"/\\"/g' | xargs -L4 echo "i-1234576" "RDS_Machine (us-east-1c)" "1234" "Jyoti Bhanot" bash $ …
answered Nov 9 '18 by Dmitry L.