Bash等同于Python的pass语句

问题:Bash等同于Python的pass语句

是否有与Python pass语句等效的Bash ?

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


回答 0

您可以:为此使用。

You can use : for this.


回答 1

true 是成功执行任何操作的命令。

false在某种程度上是相反的:它什么也不做,但是声称发生了故障。)

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.)