eval: add page (#1701)
This commit is contained in:

committed by
Agniva De Sarker

parent
d6a3976644
commit
d6e36290ab
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}}"`
|
Reference in New Issue
Block a user