From 524e3916d362e946044468e79a365aa81b9004af Mon Sep 17 00:00:00 2001 From: DarkFeather Date: Fri, 13 Jan 2017 09:47:34 -0600 Subject: [PATCH] Dumb grep --- math-support.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/math-support.bash b/math-support.bash index ba3454c..470efe8 100644 --- a/math-support.bash +++ b/math-support.bash @@ -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 ' '