On Tue, Feb 27, 2024 at 04:10:06PM +0700, Robert Elz wrote:
>     Date:        Tue, 27 Feb 2024 00:50:46 +0100
>     From:        Emanuele Torre <torreemanue...@gmail.com>
>     Message-ID:  <Zd0j1s452p-Vod6H@t420>
> 
>   | To use esac as a pattern you need to use the (esac) syntax,
> 
> Or quote it
> 
>       'esac')
> 
> (or similar).
> 
> kre
> 

No, then the pattern is  'esac'  not  esac.

In fact, declare -f will print 'esac' and not esac in that case; as it
would print 'es'ac instead of easc if you had used 'es'ac.

After expansion, those patterns are both always esac, but that is
entirely besides the point.

o/
 emanuele6

Reply via email to