[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: inaccurate documentation for [[:ascii:]]
From: |
alex xmb ratchev |
Subject: |
Re: inaccurate documentation for [[:ascii:]] |
Date: |
Tue, 30 May 2023 14:52:59 +0200 |
On Tue, May 30, 2023, 14:51 Emanuele Torre <torreemanuele6@gmail.com> wrote:
> On Tue, May 30, 2023 at 02:42:46PM +0200, alex xmb ratchev wrote:
> > does graph mean printable
>
> Sort of. [[:print:]] matches all the printable characters
> https://en.wikipedia.org/wiki/ASCII#Printable_characters
>
> [[:graph:]] matches all the characters that are printable, but not
> whitespace.
>
> In POSIX/C locale, the only difference between [:graph:] and [:print:]
> is that [:print:] contains space (0x20), and [:graph:] doesn't.
>
cool answer .. thanks ..
o/
> emanuele6
>