eval: add to osx platform (#2060)
This commit is contained in:

committed by
Owen Voke

parent
b24e0fb61d
commit
6a84b75c28
11
pages/osx/eval.md
Normal file
11
pages/osx/eval.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# eval
|
||||||
|
|
||||||
|
> Execute arguments as a single command in the current shell and return its result.
|
||||||
|
|
||||||
|
- Call `echo` with the "foo" argument:
|
||||||
|
|
||||||
|
`eval "{{echo foo}}"`
|
||||||
|
|
||||||
|
- Set a variable in the current shell:
|
||||||
|
|
||||||
|
`eval "{{foo=bar}}"`
|
Reference in New Issue
Block a user