This come from "johnraff" over on #!. I use cbs (the original) and ubs (UBU, sit Ubu, sit) as well.
And while this forum is very young it does work.
It will get better as Google's bots roam around. ( See, I use Google :lol: )
vos = VsidO Search - I have it in my path (~/bin) and a simple search:
gave me:
And while this forum is very young it does work.
It will get better as Google's bots roam around. ( See, I use Google :lol: )
vos = VsidO Search - I have it in my path (~/bin) and a simple search:
Code Select
sector11 @ sector11
13 Jan 13 | 00:26:01 ~
$ vos Debian
sector11 @ sector11
13 Jan 13 | 00:26:10 ~
$
gave me:
Code Select
#!/bin/bash
# search the VSIDO forums
# by johnraff
USAGE='USAGE:
search words - search the forum with several words, other google stuff like OR also OK.
"search phrase" - search for fixed phrase
-t topic word - search for topic in title, word anywhere
-t "topic phrase" word - search for "topic phrase" in title, word anywhere
-t topic -t subject - search for topic AND subject in title
-h or --help - this message
etc...'
unset q
while [[ $1 ]]
do
case $1 in
-t)
shift
if [[ $(echo $1 | wc -w) -eq 1 ]]
then
q="$q intitle:$1"
else
q="$q intitle:\"$1\""
fi
;;
-h|--help)
echo "$USAGE"
exit 0
;;
*)
if [[ $(echo $1 | wc -w) -eq 1 ]]
then
q="$q $1"
else
q="$q \"$1\""
fi
;;
esac
shift
done
iceweasel "http://www.google.com/search?q=site:http://vsido.org/forum/ $q"
exit 0