Created
December 27, 2017 12:33
-
-
Save miceno/e7c75afe2a806803815e0337a9305bdf to your computer and use it in GitHub Desktop.
Extract json text value
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo '{"count":"7363","_shards":{"total":1,"successful":1,"failed":0}}' | sed -e 's/^.*"count":"\([^"]*\)".*$/\1/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment