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

cmdData

(This command has been awarded a Yubnub Golden Egg)

http://jonathanaquino.com/yubscripts/yn-mandata.php?xn_auth=no&input={lcase %s}
NAME
     cmdData - Returns data from a command's man page.

EXAMPLES
     cmdData gim.url
         Returns the url of the gim command, "http://images.google.com/images?q=%s"
     
     cmdData eop.created.date
         Returns the date the eop command was created, "2006-04-02"
     
     cmdData match.parameters[4].name
         Returns "capture", which is the 5th parameter of the match command. Keep in mind
         that the 'parameters' array is zero-based. Parameters are in the order that they are
         first found in the command url. However, if the command has a %s parameter, it will
         always be item [0] in the array.
     
     cmdData del2.description
         Returns the author's notes from its man page.

DESCRIPTION
     Use this command to fetch data from a command's man page using an object hierarchy syntax.
     The hierarchy is as follows:
     
       COMMAND.
             NAME
             URL
             DESCRIPTION
             GOLDEN (returns 0 or 1)
             USES
             CREATED.
                    DATE
                    TIME
                    TIMESTAMP (returns a UNIX timestamp)
             LASTUSED.
                    DATE
                    TIME
                    TIMESTAMP (returns a UNIX timestamp)
             PARAMETERS[].
                    NAME
                    DEFAULTVALUE
     
     Note that the parameters are stored in an array. See the examples above for more info.

NOTES
     This utilizes my man-scraping script. More info can be found here:
     http://groups.google.com/group/YubNub/browse_thread/thread/1bf01d05bf48a94e

AUTHOR
     Allen Ormond  -  aormond (at) gmail (dot) com
    
1739 uses - Created 2006-05-02 03:40:05 - Last used 2023-04-24 07:24:16
Is this command broken? Tell Jon if you know how to fix it.