User Tools

Site Tools


programming:bash:conditionals

Differences

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

Link to this comparison view

Next revision
Previous revision
programming:bash:conditionals [2018-01-29 05:57] – created zlgprogramming:bash:conditionals [2018-07-03 01:00] (current) – external edit 127.0.0.1
Line 1: Line 1:
-Conditionals are the primary means of making decisions in programming, especially Bash scripting. Conditionals in Bash are with the ''%%[%%'' and ''%%[[%%'' built-ins, which are also commands! It makes reasoning about conditionals challenging at first, but there are some useful flags for use with file paths.+====== Conditionals ====== 
 + 
 +Conditionals are the primary means of making decisions in programming, especially Bash scripting. Conditionals in Bash are with the ''%%[%%'' and ''%%[[%%'' built-ins, which are also commands! It makes reasoning about conditionals challenging at first, but there are some useful flags available:
  
 ===== Files ===== ===== Files =====
Line 33: Line 35:
 ===== References ===== ===== References =====
  
-  * ''[[man>bash|man bash]]''+  * ''[[man>bash|man bash]]'' — See "CONDITIONAL EXPRESSIONS"
  
  
programming/bash/conditionals.1517205444.txt.gz · Last modified: 2018-07-03 01:00 (external edit)