From 59717e5b39b7390dfa91282f95c5b53797283fcb Mon Sep 17 00:00:00 2001 From: John Kerl Date: Thu, 11 Aug 2016 20:02:49 -0400 Subject: [PATCH] redireced-output doc --- doc/content-for-reference.html | 41 ++++++++ doc/reference.html | 167 +++++++++++++++++++++++++++++++++ 2 files changed, 208 insertions(+) diff --git a/doc/content-for-reference.html b/doc/content-for-reference.html index 1ee247808a..bf961c1c59 100644 --- a/doc/content-for-reference.html +++ b/doc/content-for-reference.html @@ -904,6 +904,47 @@

Emit-all statements for put

POKI_RUN_COMMAND{{mlr --from data/small --opprint put -q '@sum[$a][$b] += $x; @count[$a][$b] += 1; end{emit @*,"a","b"}'}}HERE POKI_RUN_COMMAND{{mlr --from data/small --opprint put -q '@sum[$a][$b] += $x; @count[$a][$b] += 1; end{emit (@sum, @count),"a","b"}'}}HERE +

Redirected output statements for put

+ +The tee, emitf, emitp, emit, print, and +dump keyword all allow you to redirect output to one or more files or +pipe-to commands. + + +

Note the following: + +

+

Unset statements for put

You can clear a map key by assigning the empty string as its value: $x="" or @x="". diff --git a/doc/reference.html b/doc/reference.html index a22ed66c22..928844966e 100644 --- a/doc/reference.html +++ b/doc/reference.html @@ -181,6 +181,7 @@         • Emit statements for put
        • Multi-emit statements for put
        • Emit-all statements for put
+        • Redirected output statements for put
        • Unset statements for put
        • More variable assignments for put
        • Pattern-action blocks for put
@@ -3136,6 +3137,172 @@

+

Redirected output statements for put

+ +The tee, emitf, emitp, emit, print, and +dump keyword all allow you to redirect output to one or more files or +pipe-to commands. + + +

Note the following: + +

+

Unset statements for put

You can clear a map key by assigning the empty string as its value: $x="" or @x="".