Skip to content

Instantly share code, notes, and snippets.

Created Dec 14, 2016
What would you like to do?
simple example of using awk to parse a json output
echo "$status" | awk -F"[,:]" '{for(i=1;i<=NF;i++){if($i~/completed\042/){print $(i+1)} } }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment