Skip to content

Simple JSON Parser Written in AWK and Shell, with POSIX Compatibility

License

Notifications You must be signed in to change notification settings

vcheckzen/posix-awk-shell-jq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Posix AWK Shell JQ

Simple JSON Parser Written in AWK and Shell, with POSIX Compatibility

$ DOH_API='https://dns.google/resolve?name=dns.google&type=AAAA'
$ JQ_URI='https://github.com/vcheckzen/posix-awk-shell-jq/raw/main/jq.sh'
$ curl -s "$DOH_API" |
    sh -c "$(curl -sL "$JQ_URI")" @ - 'Answer[0].data'
"2001:4860:4860::8888"#

You should clone the whole project and execute merge.sh on your target machine, because that file contains some test cases.

About

Simple JSON Parser Written in AWK and Shell, with POSIX Compatibility

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published