Dumb grep
This commit is contained in:
parent
0cbfa313f1
commit
524e3916d3
@ -1,2 +1,2 @@
|
||||
#!/bin/bash
|
||||
lynx -connect_timeout=3 -read_timeout=3 --dump 'http://m.wolframalpha.com/input/?i='"$(echo $1 | sed 's/+/%2B/g' | tr ' ' '+')"'&x=0&y=0' | cat -n | grep 21 | head -n 1 | xargs | cut -f 2 -d ' '
|
||||
lynx -connect_timeout=3 -read_timeout=3 --dump 'http://m.wolframalpha.com/input/?i='"$(echo $1 | sed 's/+/%2B/g' | tr ' ' '+')"'&x=0&y=0' | cat -n | egrep '^ 21' | head -n 1 | xargs | cut -f 2 -d ' '
|
||||
|
Loading…
Reference in New Issue
Block a user