ExternalCmdExample Help
Processor arguments:
cmd- can be 'ls', 'bc', 'tr', or 'cat';, default is 'ls'long(optional) - do 'ls -l'
Example usage:
{{{#!ExternalCmdExample
cmd=ls
long=1
}} }
{{{#!ExternalCmdExample
cmd=bc
----
6.2 * 3
}} }
{{{#!ExternalCmdExample
cmd=cat
----
This data goes into a temp file, that is cat'ed back out.
}} }
{{{#!ExternalCmdExample
cmd=tr
str1=a-z
str2=A-Z
----
This will be made into all upper-case (SHOUTING)
(using piping, instead of a temp file
}} }
Back to page: Sandbox