On Fri, Sep 06, 2019 at 02:38:18PM -0600, Theo de Raadt wrote:
> Christian Weisgerber <naddy@mips.inka.de> wrote:
>
> > On 2019-09-06, Andreas Kusalananda Kähäri <andreas.kahari@abc.se> 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.
No comments:
Post a Comment