#!/bin/bash args=$@ query=${args// /+} url="http://www.google.com/search?hl=en&q=$query" wget $url