Skip to content

Instantly share code, notes, and snippets.

@ejcx ejcx/wf.sh
Last active May 13, 2017

Embed
What would you like to do?
#!/bin/zsh
wf() {
curl -s "https://www.wolframalpha.com/input/autocomplete.jsp?i=$@" | \
jq '.instantMath' | \
jq 'select(.approximateResult != null).approximateResult, select(.exactResult != null).exactResult'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.