Creating Commands

From Yubnub

(Difference between revisions)
(added term/definition structure for commands)
m (removed separator)
 
(4 intermediate revisions not shown)
Line 1: Line 1:
-
From [http://www.yubnub.org/documentation/jeremys_picks Jeremy's picks]...
+
Some YubNub commands are useful for [http://www.yubnub.org/parser/parse?command=create creating] 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=url url] : returns the URL a YubNub 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=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=random random] : generates random numbers.  
Line 14: Line 12:
; [http://yubnub.org/kernel/man?args=extractdomainname extractdomainname] : pulls the domain out of a URL.
; [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=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 [[String Manipulation]]
 +
 
 +
----
View [[SiteMap]]
View [[SiteMap]]

Current revision as of 02:15, 6 June 2008

Some YubNub commands are useful for creating other commands:


url 
returns the URL a YubNub command would have redirected you to.
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.


See String Manipulation


View SiteMap

Personal tools