Created
September 25, 2011 07:15
-
-
Save sragu/1240337 to your computer and use it in GitHub Desktop.
Android grub json, and pass to jsonlint and print inline
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
#!/usr/local/bin/gawk -f | |
#Android grub json, and pass to jsonlint and print inline | |
#usage adb logcat | jsonbeautify | |
{print} match($0, "Raw HTTP Response:(.*)$", a) {print "---";print a[1] | "jsonlint"; close("jsonlint"); print "---";} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment