mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-28 23:17:58 +01:00
eval: add page (#1701)
This commit is contained in:
parent
d6a3976644
commit
d6e36290ab
1 changed files with 11 additions and 0 deletions
11
pages/linux/eval.md
Normal file
11
pages/linux/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…
Reference in a new issue