[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bash “case” statement
From: |
Tony Esposito |
Subject: |
Bash “case” statement |
Date: |
Wed, 12 Jul 2023 18:52:32 -0500 |
Hello,
Is the bash “case”
statement just syntactic sugar?
That is, does the bash interpreter convert the “case” statement into an
equivalent “if-then-else” statement and then do the interpretation?
If so, is there a way to create and/or see an intermediate file that shows
the conversion from a “case” statement to an “if-then-else” statement?
Thanks,
Tony
- Bash “case” statement,
Tony Esposito <=