*** What service (Calendar, Docs, Picasa) should be enhanced?
New service for Search
*** What is the enhancement?
Search results are given in a formatted format command line output. The search
query can be taken from command line arguments or other means, same as the
other services.
Similarly to this shell script (currently tested and works under zsh and bash)
excepts also shows short descriptions with a flag to add colors similar to that
of what is seen through a web browser. It could be an improvement on the
attached file with showing descriptions and the mentioned color support.
Thanks.
P.S. Implementable in Bash, and common GNU Linux command line utilties found on
just about every standard installation of Linux Distros:
function google { Q="$@"; GOOG_URL='https://www.google.de/search?tbs=li:1&q=';
AGENT="Mozilla/4.0"; stream=$(curl -A "$AGENT" -skLm 10 "${GOOG_URL}${Q//\ /+}"
| grep -oP '\/url\?q=.+?&' | sed 's|/url?q=||; s|&||'); echo -e
"${stream//\%/\x}"; }
google google-cl
Original issue reported on code.google.com by TuxPengu...@gmail.com on 2 Apr 2014 at 11:10
Original issue reported on code.google.com by
TuxPengu...@gmail.com
on 2 Apr 2014 at 11:10Attachments: