Unfortunately the link to a shell script in the article is broken so I wrote a short query script myself:
BROWSER=firefox # you can use w3m to get output in the shell
COMMAND=$(echo $* | sed -e 's/ /+/g')
Copy it into a file (e.g. yubnub.sh) and make it executable.
The script runs fine with ksh and bash for my test searches. Some examples:
yubnub.sh wp peace
yubnumb.sh man ls
yubnub.sh sing Johnny Cash Desperado