Sandbox 

TB Wiki

Login

Sandbox

cat_content='This data goes into a temp file, which is cat'ed back out. '

This page is for testing things. Please feel free to edit or change anything here.

file upload [edit section]

test bullets and headers [edit section]

IfNotAdmin [edit section]

Here is a message showing Admin status:

You are NOT an admin

Above this line should either be a message about Admins or Non-Admins.

table with ROUND [edit section]

number  ^ formula  ^ result  ^ expected  ^
12.00001 f=ROUND($.number,2) 12.0 12.00
15.12468 f=ROUND($.number,1) 15.1 15.1
15.12468 f=ROUND($.number,2) 15.12 15.12
15.12468 f=ROUND($.number,4) 15.1247 15.1247
15.12468 f=ROUND($.number,3) 15.125 15.125
literal f=ROUND(23.149,1) 23.1 23.1
literal f=ROUND(23.149,2) 23.15 23.15
Query

ExternalCmdExample [edit section]

Here is an example of running the ExternCmdExample processor:

Here is an 'ls' example:

total 300
drwxr-xr-x 2 birdorg birdorg  4096 May 25 20:14 __pycache__
-rwxr-xr-x 1 birdorg birdorg  1681 Sep 12 14:27 family.cgi
-rwxr-xr-x 2 birdorg birdorg 19586 Sep  4  2018 fserver.py
-rwxr-xr-x 1 birdorg birdorg  1903 Feb 23  2026 fuego-1.0.cgi
-rwxr-xr-x 1 birdorg birdorg  1924 Feb 23  2026 fuego-1.2.cgi
-rwxr-xr-x 1 birdorg birdorg  1884 Feb 23  2026 fuego.cgi
-rwxr-xr-x 1 birdorg birdorg   799 Aug 18  2016 give_data_to_bad_guys.cgi
-rwxr-xr-x 1 birdorg birdorg  1785 Feb 23  2026 jonathan.cgi
-rwxr-xr-x 1 birdorg birdorg  1629 Jan  3  2020 mwiki.cgi
-rwxr-xr-x 1 birdorg birdorg  1773 Feb 23  2026 nathan.cgi
-rwxr-xr-x 1 birdorg birdorg    73 Feb 19  2026 pytest.cgi
-rwxr-xr-x 1 birdorg birdorg  1761 Feb 23  2026 ryan.cgi
-rwxr-xr-x 1 birdorg birdorg  1773 Feb 23  2026 samuel.cgi
-rwxr-xr-x 1 birdorg birdorg  1645 Feb 23  2026 scout.cgi
-rwxr-xr-x 1 birdorg birdorg  1628 Aug  3 18:41 sony.cgi
-rwxr-xr-x 1 birdorg birdorg  2863 Feb 23  2026 space.cgi
-rwxr-xr-x 1 birdorg birdorg  1664 Sep 12 20:29 tbwiki.cgi
-rwxr-xr-x 1 birdorg birdorg   979 Feb 26  2026 test-py-encoding.cgi
-rwxr-xr-x 1 birdorg birdorg   612 Feb 26  2026 test-sh-encoding.cgi
-rwxr-xr-x 1 birdorg birdorg   504 Sep  4 19:15 test-this.cgi
-rwxr-xr-x 1 birdorg birdorg  2823 Sep 10 08:05 test.cgi
-rwxr-xr-x 1 birdorg birdorg  1977 Feb 18  2020 test.cgi.save
-rw-r--r-- 1 birdorg birdorg   147 May 25 22:11 testfile
-rwxr-xr-x 1 birdorg birdorg    52 Sep  4 19:15 this-python
-rwxr-xr-x 1 birdorg birdorg    41 Sep  4 19:07 this-shell
-rwxr-xr-x 1 birdorg birdorg  1657 Apr 30 14:44 tims.cgi
-rw-r--r-- 1 birdorg birdorg   194 May 25 20:24 vgchart-note.txt
-rwxr-xr-x 1 birdorg birdorg 30479 May 25 23:59 vgchart.py
-rw-r--r-- 1 birdorg birdorg 21142 Nov 23  2025 vgchart.pyc
-rwxr-xr-x 1 birdorg birdorg  1270 Aug 17 18:14 words.cgi


Here is a 'bc' example: 39.58403

The line above should show: 39.58403


Here is a 'cat' example: This data goes into a temp file, which is cat'ed back out. Here is more stuff I added in the processor

The line above should read "This data goes into a temp file, which is cat'ed back out. Here is more stuff I added in the processor.

Help page: ExternalCmdExample.help

section 1 [edit section]

This is section 1 Here is a link to section 3:

Here is another link to section 3:

The above anchor link to the same page should work, and it does!

section 2 [edit section]

This is section 2. It has a block with lots of lines in it.

lots more text in a block to cause lots of lines
lots more text in a block to cause lots of lines
lots more text in a block to cause lots of lines
lots more text in a block to cause lots of lines
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc

section 3 [edit section]

This is section 3

Some more test material

section 4 [edit section]

This tests a compact hidden block:

There is a block between this line

and this line

try some data elements [edit section]

  • TBWIKI git_describe = v2.0.0-32-ga9cbfc3

TBWiki engine 2.0.1 by Tim Bird