Difference between revisions of "If"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
 
* [[Bash]]: https://stackoverflow.com/questions/18668556/comparing-numbers-in-bash
 
* [[Bash]]: https://stackoverflow.com/questions/18668556/comparing-numbers-in-bash
 
  if (( a > b )); then
 
  if (( a > b )); then
 +
    ...
 +
fi
 +
 +
if (( a > b )); then
 +
    ...
 +
else
 
     ...
 
     ...
 
  fi
 
  fi

Revision as of 14:16, 21 September 2020

Advertising: