mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-15 05:55:57 +02:00
eval: add Chinese translation
This commit is contained in:
parent
bf30549131
commit
ddd9c42b14
1 changed files with 11 additions and 0 deletions
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}}"`
|
Loading…
Add table
Reference in a new issue