Plan 9 from Bell Labs’s /usr/web/sources/contrib/fgb/rc/google
#!/bin/rc if(~ $#* 0) plumb http://google.com if not { opt=$1 shift for(x) opt=($opt+$x) plumb 'http://www.google.com/search?q='^$opt }