aboutsummaryrefslogtreecommitdiff
path: root/misc/google
blob: b0e15ea2441e417baef4dedd9e0054ee897e6671 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

BROWSER=lynx

if [ $# -eq 0 ]
then
        echo "Usage: chkargs argument..." 1>&2
        exit 1
fi

search=$1
while shift
do
        search="$search+$1"
done

$BROWSER "http://www.google.com/search?q=$search" &