On Fri, Sep 06, 2019 at 02:38:18PM -0600, Theo de Raadt wrote:
> Christian Weisgerber <[email protected]> wrote:
> 
> > On 2019-09-06, Andreas Kusalananda Kähäri <[email protected]> wrote:
> > 
> > >> read x; while [ "$x" != [abc] ]; do echo "Not a, b or c"; break; done
> > >
> > > The shells in the OpenBSD base system do not support matching regular
> > > expressions with that syntax.  You may have been thinking of bash,
> > 
> > Just to head off crazy rumors: bash doesn't either.
> 
> Doesn't bash perform this task by invisibly calling out to perl?

You're thinking of zsh.

Reply via email to