@
mzer0 还是不一样的
比如 tldr bash , 看到的结果:
- Run commands from file (script)
bash {{file}}
这里只是给了个注释,懂得人一看就懂,不懂的人不可能看懂
而 man bash , 看到的结果(随便截取了几行):
for (( expr1 ; expr2 ; expr3 )) ; do list ; done
First, the arithmetic expression expr1 is evalu ‐
ated according to the rules described below under
ARITHMETIC EVALUATION. The arithmetic expression
expr2 is then evaluated repeatedly until it eval ‐
uates to zero. Each time expr2 evaluates to a
non-zero value, list is executed and the
这里用法,逻辑和原理都讲到了,用心看的话还能发现一些不知道的功能