fix a simple problem

This commit is contained in:
SubmarineX 2017-08-21 09:25:12 +08:00
parent 21412a11e3
commit 3911fc2350

View File

@ -56,7 +56,7 @@
.. tip:: .. tip::
请将 ``; do`` , ``; then````while`` , ``for`` , ``if`` 放在同一行。 请将 ``; do`` , ``; then````while`` , ``for`` , ``if`` 放在同一行。
shell中的循略有不同,但是我们遵循跟声明函数时的大括号相同的原则。也就是说, ``; do`` , ``; then`` 应该和 if/for/while 放在同一行。 ``else`` 应该单独一行,结束语句应该单独一行并且跟开始语句垂直对齐。 shell中的循略有不同,但是我们遵循跟声明函数时的大括号相同的原则。也就是说, ``; do`` , ``; then`` 应该和 if/for/while 放在同一行。 ``else`` 应该单独一行,结束语句应该单独一行并且跟开始语句垂直对齐。
例如: 例如: