Difference between revisions of "Elif"

From wikieduonline
Jump to navigation Jump to search
(Created page with "* https://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash.html#Conditional-Constructs * {{if}} * {{Bash}}")
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{lc}}
 
* https://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash.html#Conditional-Constructs
 
* https://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash.html#Conditional-Constructs
 +
[[if]]..elif..else
  
  
 +
[[if]] test-commands; then
 +
  consequent-commands;
 +
elif more-test-commands; then
 +
  more-consequents;
 +
else alternate-consequents;
 +
fi
  
 +
== See also ==
 
* {{if}}
 
* {{if}}
 
* {{Bash}}
 
* {{Bash}}
 +
 +
[[Category:Bash]]

Latest revision as of 13:38, 14 November 2022

Advertising: