Creating Commands
From Yubnub
(Difference between revisions)
(added term/definition structure for commands) |
|||
Line 2: | Line 2: | ||
Some YubNub commands are used to [http://www.yubnub.org/parser/parse?command=create create] other commands: | Some YubNub commands are used to [http://www.yubnub.org/parser/parse?command=create create] other commands: | ||
- | + | ; [http://yubnub.org/kernel/man?args=url url] : returns the URL a <raw>YubNub</raw> command would have redirected you to. | |
- | + | ; [http://yubnub.org/kernel/man?args=% %] : extracts tokens from a string, allowing you to parse your own argument string. | |
- | + | ; [http://yubnub.org/kernel/man?args=filterstring filterstring] : deletes tokens from a string, the opposite of %. | |
- | + | ; [http://yubnub.org/kernel/man?args=ifthen ifthen] : is the type of command that might lead to YubNub becoming Turing complete. | |
- | + | ; [http://yubnub.org/kernel/man?args=random random] : generates random numbers. | |
- | + | ; [http://yubnub.org/kernel/man?args=randwd randwd] : generates a random word. | |
- | + | ; [http://yubnub.org/kernel/man?args=scrape scrape] : extracts the bit of text you want from a web page. | |
- | + | ; [http://yubnub.org/kernel/man?args=split split], [http://yubnub.org/kernel/man?args=splith splith], and [http://yubnub.org/kernel/man?args=splitv splitv] : display several webpages at the same time. | |
- | + | ; [http://yubnub.org/kernel/man?args=date date] : prints a date (today by default) in whatever format you need. | |
- | + | ; [http://yubnub.org/kernel/man?args=delw delw] : deletes the specified text wherever it appears. | |
- | + | ; [http://yubnub.org/kernel/man?args=extractdomainname extractdomainname] : pulls the domain out of a URL. | |
- | + | ; [http://yubnub.org/kernel/man?args=ifempty ifempty] : checks for empty strings. | |
- | + | ; [http://yubnub.org/kernel/man?args=strlength strlength] : returns the length of a string. (Duh, but what else can I say?) | |
- | + | ; [http://yubnub.org/kernel/man?args=strreplace strreplace] : replaces part of a string with something else. | |
+ | ; [http://yubnub.org/kernel/man?args=ucase ucase] and [http://yubnub.org/kernel/man?args=lcase lcase] : make text UPPER CASE or lower case, respectively. | ||
See [http://yubnub.org/kernel/man?args=CommandExists CommandExists] | See [http://yubnub.org/kernel/man?args=CommandExists CommandExists] | ||
View [[SiteMap]] | View [[SiteMap]] |
Revision as of 03:58, 2 September 2006
From Jeremy's picks...
Some YubNub commands are used to create other commands:
- url
- returns the URL a <raw>YubNub</raw> command would have redirected you to.
- %
- extracts tokens from a string, allowing you to parse your own argument string.
- filterstring
- deletes tokens from a string, the opposite of %.
- ifthen
- is the type of command that might lead to YubNub becoming Turing complete.
- random
- generates random numbers.
- randwd
- generates a random word.
- scrape
- extracts the bit of text you want from a web page.
- split, splith, and splitv
- display several webpages at the same time.
- date
- prints a date (today by default) in whatever format you need.
- delw
- deletes the specified text wherever it appears.
- extractdomainname
- pulls the domain out of a URL.
- ifempty
- checks for empty strings.
- strlength
- returns the length of a string. (Duh, but what else can I say?)
- strreplace
- replaces part of a string with something else.
- ucase and lcase
- make text UPPER CASE or lower case, respectively.
See CommandExists
View SiteMap