help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bash “case” statement


From: Tony Esposito
Subject: Re: Bash “case” statement
Date: Wed, 12 Jul 2023 19:42:07 -0500

Thank you,,,

On Wed, Jul 12, 2023 at 7:22 PM Lawrence Velázquez <vq@larryv.me> wrote:

> On Wed, Jul 12, 2023, at 7:52 PM, Tony Esposito wrote:
> > 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?
>
> No.
>
> https://git.savannah.gnu.org/cgit/bash.git/tree/execute_cmd.c?h=devel#n3532
>
> --
> vq
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]