Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.

yyg

ifThen ({CommandExists {% 1 %s}}) http://yubnub.org/parser/parse?command=%s, {ifThen ({strFind -find " " -string %s}=0) {url yos %s}, {url g %s}} -redirect true
ygy = Yubnub, Google, or Yahoo?

This command integrates Yubnub, Yahoo Open Search, and Google Search into a single command.  If the entry has spaces, then ygy determines whether the first token in the entry is a Yubnub command.  If it is a command, then yyg executes that command with the remaining tokens as if the user's entry was initially typed into Yubnub's command line.  If, however, the entry contains no spaces, yyg will pass the entry to Yahoo Open Search.  If the entry contains spaces and is not a Yubnub command, yyg runs a google search on the entire entry.

For example,

(1) "yyg az soulive" will execute az with Yubnub, which will, in turn, perform a search on Amazon.com for "soulive";
(2) "yyg newbmk" will redirect you to whatever page you have set as your target for "!newbmk" in your personal Yahoo Open Search account;
(3) "yyg soulive up here" will redirect you to a google search for "soulive up here" unless you have set "!soulive" as a Yahoo Open Search.

This command was designed to allow users to set their own personal aliases and shortcuts with Yahoo Open Search without forfeiting the advantages of using Yubnub instead of that service.  When used properly, yyg more usefully implements the Yubnub command "flp".


    
296 uses - Created 2009-05-02 04:42:27 - Last used 2018-07-17 17:33:02
Is this command broken? Tell Jon if you know how to fix it.
Do you find this command offensive? Let Jon know.