1 2 3 4 5 6 7 8
#! /bin/sh uri="http://google.com/complete/search?output=json&q=$*" curl -sS "$uri" | sed -n ' s:^window.google.ac.h(\|)$::gp ' echo