Differences

This shows you the differences between two versions of the page.

Link to this comparison view

shell [2018/12/14 10:30]
dblume Added jq
shell [2018/12/14 10:33] (current)
dblume [jq Tips]
Line 495: Line 495:
  
 <code> <code>
-cat fruits.txt | jq '.fruits|del(.count,.open)|with_entries(.value |= .price)'+$ jq '.fruits|del(.count,.open)|with_entries(.value |= .price)' fruits.txt
 { {
   "apple": 2,   "apple": 2,
shell.1544812211.txt.gz · Last modified: 2018/12/14 10:30 by dblume
 
Recent changes RSS feed Driven by DokuWiki