mirror of https://github.com/CrimsonTome/tldr.git
eval: add Chinese translation
parent
bf30549131
commit
ddd9c42b14
|
@ -0,0 +1,11 @@
|
|||
# eval
|
||||
|
||||
> 在当前shell中以单个命令的形式执行参数,并返回其结果.
|
||||
|
||||
- 使用 'foo' 做为参数调用 `echo`:
|
||||
|
||||
`eval "{{echo foo}}"`
|
||||
|
||||
- 在当前 shell 程序中设置变量:
|
||||
|
||||
`eval "{{foo=bar}}"`
|
Loading…
Reference in New Issue