compgen, eval, export, file: move to common (#6508)

This commit is contained in:
marchersimon
2021-09-13 15:24:42 +02:00
committed by GitHub
parent efeee14594
commit ac46610ce6
13 changed files with 2 additions and 78 deletions

12
pages.zh/common/eval.md Normal file
View File

@@ -0,0 +1,12 @@
# eval
> 在当前 shell 中以单个命令的形式执行参数,并返回其结果。
> 更多信息:<https://ss64.com/osx/eval.html>.
- 使用 'foo' 做为参数调用 `echo`:
`eval "{{echo foo}}"`
- 在当前 shell 程序中设置变量:
`eval "{{foo=bar}}"`