mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
eval: add to osx platform (#2060)
This commit is contained in:
parent
b24e0fb61d
commit
6a84b75c28
1 changed files with 11 additions and 0 deletions
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}}"`
|
Loading…
Add table
Reference in a new issue