What is the Bash equivalent of Python's pass statement

一笑奈何 提交于 2019-11-28 19:24:22

问题


Is there a Bash equivalent to the Python's pass statement?


回答1:


You can use : for this.




回答2:


true is a command that successfully does nothing.

(false would, in a way, be the opposite: it doesn't do anything, but claims that a failure occurred.)



来源:https://stackoverflow.com/questions/2421586/what-is-the-bash-equivalent-of-pythons-pass-statement

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!