S
S
Serious Shell Programming
Search…
S
S
Serious Shell Programming
Introduction
Acknowledgements
Basics
Strings
Here Documents
Conditionals
Regex
Control Flow
Binary Operators
if-elif-else
case Statement
for Loop
while Loop
Functions
shellcheck
Introduction
Bad Advice
Style
awk
case
Redirection
Comments
trap
String Functions
substr
sprintf
replace
replaceall
replacestart
replaceend
fnmatch
awk
Pre-declaring Arrays
Sorting Arrays
Know Your limits
Arguments
Environment Variables
Solutions
Powered By
GitBook
Control Flow
Allowing your code to make branching decisions, control flow requires a condition and makes a decision based on exit status of the conditional. shell offers a number of control flow elements.
Binary Operators (
&&
and
||
)
if-elif-else
Statement
case
Statement
for
Loop
while
Loop
Functions
Previous
pcre
Next
Binary Operators
Last modified
2yr ago
Copy link