syntax:ccmd:if_clause

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

syntax:ccmd:if_clause [2010/04/15 18:41]
127.0.0.1 external edit
syntax:ccmd:if_clause [2022/09/07 13:51] (current)
fgrose [Examples] correct explanation detail
Line 61: Line 61:
 fi fi
 </​code>​ </​code>​
-The exit code that dictates the condition'​s value is the exit code of the very last command executed in the condition-list (here: The ''​[ ​... ]''​)+The exit code that dictates the condition'​s value is the exit code of the very last command executed in the condition-list (here: The ''​[ ​-e /​some/​file ​]''​)
  
 **A complete pipe as condition** **A complete pipe as condition**
  • syntax/ccmd/if_clause.txt
  • Last modified: 2022/09/07 13:51
  • by fgrose