From c61f27fa85f441fe93e4049e96d0e9e264672c1c Mon Sep 17 00:00:00 2001 From: John Kerl Date: Sun, 14 Aug 2022 00:03:30 -0400 Subject: [PATCH] run "make dev" after PR #1071 --- docs/src/manpage.md | 6 +++--- docs/src/manpage.txt | 6 +++--- docs/src/reference-dsl-builtin-functions.md | 4 ++-- man/manpage.txt | 6 +++--- man/mlr.1 | 8 ++++---- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/docs/src/manpage.md b/docs/src/manpage.md index 304a7e116..e3a9d6212 100644 --- a/docs/src/manpage.md +++ b/docs/src/manpage.md @@ -2243,9 +2243,9 @@ FUNCTIONS FOR FILTER/PUT Map example: every({"a": "foo", "b": "bar"}, func(k,v) {return $[k] == v}) exec - (class=system #args=variadic) '$output = exec( "command", ["arg1", "arg2"], {"env": ["ENV_VAR=ENV_VALUE"], "dir": "/tmp/run_command_here", "stdin_string": "this is input fed to program", "combined_output": true )' Run a command via executable, path, args and environment, yielding its stdout minus final carriage return. + (class=system #args=variadic) '$output = exec( "command", ["arg1", "arg2"], {"env": ["ENV_VAR=ENV_VALUE", "ENV_VAR2=ENV_VALUE2"], "dir": "/tmp/run_command_here", "stdin_string": "this is input fed to program", "combined_output": true )' Run a command via executable, path, args and environment, yielding its stdout minus final carriage return. Example: - exec("echo", ["Hello", "$YOUR_NAME"], {"env": "YOUR_NAME=World"}) outputs "Hello World" + exec("echo", ["I don't do", "$SHELL things"], {"env": "SHELL=sh"}) outputs "I don't do $SHELL things" exp (class=math #args=1) Exponential function e**x. @@ -3280,5 +3280,5 @@ SEE ALSO - 2022-08-07 MILLER(1) + 2022-08-14 MILLER(1) diff --git a/docs/src/manpage.txt b/docs/src/manpage.txt index 753c2596d..dcdc20398 100644 --- a/docs/src/manpage.txt +++ b/docs/src/manpage.txt @@ -2222,9 +2222,9 @@ FUNCTIONS FOR FILTER/PUT Map example: every({"a": "foo", "b": "bar"}, func(k,v) {return $[k] == v}) exec - (class=system #args=variadic) '$output = exec( "command", ["arg1", "arg2"], {"env": ["ENV_VAR=ENV_VALUE"], "dir": "/tmp/run_command_here", "stdin_string": "this is input fed to program", "combined_output": true )' Run a command via executable, path, args and environment, yielding its stdout minus final carriage return. + (class=system #args=variadic) '$output = exec( "command", ["arg1", "arg2"], {"env": ["ENV_VAR=ENV_VALUE", "ENV_VAR2=ENV_VALUE2"], "dir": "/tmp/run_command_here", "stdin_string": "this is input fed to program", "combined_output": true )' Run a command via executable, path, args and environment, yielding its stdout minus final carriage return. Example: - exec("echo", ["Hello", "$YOUR_NAME"], {"env": "YOUR_NAME=World"}) outputs "Hello World" + exec("echo", ["I don't do", "$SHELL things"], {"env": "SHELL=sh"}) outputs "I don't do $SHELL things" exp (class=math #args=1) Exponential function e**x. @@ -3259,4 +3259,4 @@ SEE ALSO - 2022-08-07 MILLER(1) + 2022-08-14 MILLER(1) diff --git a/docs/src/reference-dsl-builtin-functions.md b/docs/src/reference-dsl-builtin-functions.md index dda502aaa..bbb65a5eb 100644 --- a/docs/src/reference-dsl-builtin-functions.md +++ b/docs/src/reference-dsl-builtin-functions.md @@ -1163,9 +1163,9 @@ $* = utf8_to_latin1($*) ### exec
-exec  (class=system #args=variadic) '$output = exec( "command", ["arg1", "arg2"], {"env": ["ENV_VAR=ENV_VALUE"], "dir": "/tmp/run_command_here", "stdin_string": "this is input fed to program", "combined_output": true )' Run a command via executable, path, args and environment, yielding its stdout minus final carriage return.
+exec  (class=system #args=variadic) '$output = exec( "command", ["arg1", "arg2"], {"env": ["ENV_VAR=ENV_VALUE", "ENV_VAR2=ENV_VALUE2"], "dir": "/tmp/run_command_here", "stdin_string": "this is input fed to program", "combined_output": true )' Run a command via executable, path, args and environment, yielding its stdout minus final carriage return.
 Example:
-exec("echo", ["Hello", "$YOUR_NAME"], {"env": "YOUR_NAME=World"}) outputs "Hello World"
+exec("echo", ["I don't do", "$SHELL things"], {"env": "SHELL=sh"}) outputs "I don't do $SHELL things"
 
diff --git a/man/manpage.txt b/man/manpage.txt index 753c2596d..dcdc20398 100644 --- a/man/manpage.txt +++ b/man/manpage.txt @@ -2222,9 +2222,9 @@ FUNCTIONS FOR FILTER/PUT Map example: every({"a": "foo", "b": "bar"}, func(k,v) {return $[k] == v}) exec - (class=system #args=variadic) '$output = exec( "command", ["arg1", "arg2"], {"env": ["ENV_VAR=ENV_VALUE"], "dir": "/tmp/run_command_here", "stdin_string": "this is input fed to program", "combined_output": true )' Run a command via executable, path, args and environment, yielding its stdout minus final carriage return. + (class=system #args=variadic) '$output = exec( "command", ["arg1", "arg2"], {"env": ["ENV_VAR=ENV_VALUE", "ENV_VAR2=ENV_VALUE2"], "dir": "/tmp/run_command_here", "stdin_string": "this is input fed to program", "combined_output": true )' Run a command via executable, path, args and environment, yielding its stdout minus final carriage return. Example: - exec("echo", ["Hello", "$YOUR_NAME"], {"env": "YOUR_NAME=World"}) outputs "Hello World" + exec("echo", ["I don't do", "$SHELL things"], {"env": "SHELL=sh"}) outputs "I don't do $SHELL things" exp (class=math #args=1) Exponential function e**x. @@ -3259,4 +3259,4 @@ SEE ALSO - 2022-08-07 MILLER(1) + 2022-08-14 MILLER(1) diff --git a/man/mlr.1 b/man/mlr.1 index 48b439b57..7f963420b 100644 --- a/man/mlr.1 +++ b/man/mlr.1 @@ -2,12 +2,12 @@ .\" Title: mlr .\" Author: [see the "AUTHOR" section] .\" Generator: ./mkman.rb -.\" Date: 2022-08-07 +.\" Date: 2022-08-14 .\" Manual: \ \& .\" Source: \ \& .\" Language: English .\" -.TH "MILLER" "1" "2022-08-07" "\ \&" "\ \&" +.TH "MILLER" "1" "2022-08-14" "\ \&" "\ \&" .\" ----------------------------------------------------------------- .\" * Portability definitions .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3053,9 +3053,9 @@ Map example: every({"a": "foo", "b": "bar"}, func(k,v) {return $[k] == v}) .RS 0 .\} .nf - (class=system #args=variadic) '$output = exec( "command", ["arg1", "arg2"], {"env": ["ENV_VAR=ENV_VALUE"], "dir": "/tmp/run_command_here", "stdin_string": "this is input fed to program", "combined_output": true )' Run a command via executable, path, args and environment, yielding its stdout minus final carriage return. + (class=system #args=variadic) '$output = exec( "command", ["arg1", "arg2"], {"env": ["ENV_VAR=ENV_VALUE", "ENV_VAR2=ENV_VALUE2"], "dir": "/tmp/run_command_here", "stdin_string": "this is input fed to program", "combined_output": true )' Run a command via executable, path, args and environment, yielding its stdout minus final carriage return. Example: -exec("echo", ["Hello", "$YOUR_NAME"], {"env": "YOUR_NAME=World"}) outputs "Hello World" +exec("echo", ["I don't do", "$SHELL things"], {"env": "SHELL=sh"}) outputs "I don't do $SHELL things" .fi .if n \{\ .RE