diff options
| author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-13 15:37:49 -0200 |
|---|---|---|
| committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-13 15:37:49 -0200 |
| commit | 454c6e3c77b3db507ee81875219089047fc2d5a3 (patch) | |
| tree | 34ea351902ddd6094bc0a96a65b4bc07e9ee83d8 /misc/google | |
| download | scripts-454c6e3c77b3db507ee81875219089047fc2d5a3.tar.gz scripts-454c6e3c77b3db507ee81875219089047fc2d5a3.tar.bz2 | |
Initial import
Diffstat (limited to 'misc/google')
| -rwxr-xr-x | misc/google | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/misc/google b/misc/google new file mode 100755 index 0000000..b0e15ea --- /dev/null +++ b/misc/google @@ -0,0 +1,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" & |
