From 1a220e3e2053fe59dcf0c71116736c5073dc69ff Mon Sep 17 00:00:00 2001 From: Carsten Rose <carsten.rose@math.uzh.ch> Date: Thu, 11 Jan 2024 17:37:59 +0100 Subject: [PATCH] Doc: note on how to use '&' in variable names. --- Documentation/Report.rst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Documentation/Report.rst b/Documentation/Report.rst index 5bcadd94b..255f3979b 100644 --- a/Documentation/Report.rst +++ b/Documentation/Report.rst @@ -1534,11 +1534,18 @@ Run any command on the web server. +-------------+---------------------------------------------------+-----------------+ -**Minimal Examples** :: +**Minimal Example** :: 10.sql = SELECT "ls -s" AS _exec 20.sql = SELECT "./batchfile.sh" AS _exec +To reuse the output or to show later :: + + 10.sql = SELECT "ls -s" AS '_exec|_hide|listing' + ... + # Check the '&' before the variable name: without you'll see the command, not the output of the command. + 20.sql = SELECT ... {{&listing:R}}... + .. _column_script: Column: _script -- GitLab