mirror of
https://github.com/johnkerl/miller.git
synced 2026-01-23 02:14:13 +00:00
run "make dev" after PR #1071
This commit is contained in:
parent
e55efbbfad
commit
c61f27fa85
5 changed files with 15 additions and 15 deletions
|
|
@ -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)
|
||||
</pre>
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -1163,9 +1163,9 @@ $* = utf8_to_latin1($*)
|
|||
|
||||
### exec
|
||||
<pre class="pre-non-highlight-non-pair">
|
||||
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"
|
||||
</pre>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue