does graph mean printable

On Tue, May 30, 2023, 14:40 Emanuele Torre <torreemanue...@gmail.com> wrote:

> The documentation for glob character classes is innacurate:
>
> > Within [ and ], character classes can be specified  using the syntax
> > [:class:], where class is one of the following classes defined in the
> > POSIX standard:
> >  alnum alpha ascii blank cntrl digit graph lower print punct space
> >  upper word xdigit
> > A character class matches any character belonging to that class.  The
> > word character class matches letters, digits, and the character _.
>
> Out of those classes, [:ascii:] and [:word:] are not defined by the
> POSIX standard.
>
> [:word:] is clarified, but [:ascii:] isn't, so it is easy to miss that
> bash supports [:ascii:] when glancing that part of the documentation.
>
> I think it should be clarified that bash supports all the standard
> character classes, and that [:word:] and [:ascii:] are supported
> extensions.
>
> o/
>  emanuele6
>
>

Reply via email to