Bash convention for if ; then

后端 未结 5 796
野趣味
野趣味 2021-02-15 11:42

From this web page :

http://tldp.org/LDP/abs/html/abs-guide.html

It\'s mentioned the usage of the if bracket then convention which need a space after the semicol

5条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-15 11:54

    I've never came across a shell that required a space in that context. Just to make sure, I've asked on c.u.s., you can read the replies here.

提交回复
热议问题