eval: add Chinese translation
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
bf30549131
commit
ddd9c42b14
11
pages.zh/osx/eval.md
Normal file
11
pages.zh/osx/eval.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# eval
|
||||
|
||||
> 在当前shell中以单个命令的形式执行参数,并返回其结果.
|
||||
|
||||
- 使用 'foo' 做为参数调用 `echo`:
|
||||
|
||||
`eval "{{echo foo}}"`
|
||||
|
||||
- 在当前 shell 程序中设置变量:
|
||||
|
||||
`eval "{{foo=bar}}"`
|
Reference in New Issue
Block a user