#1037217 coreutils: od: -S considers printable, not graphic, characters

Package:
coreutils
Source:
coreutils
Description:
GNU core utilities
Submitter:
наб
Date:
2023-06-08 10:12:02 UTC
Severity:
normal
#1037217#5
Date:
2023-06-07 23:27:01 UTC
From:
To:
Dear Maintainer,

isgraph(3):
       isgraph()
              checks for any printable character except space.
od(1):
       -S BYTES, --strings[=BYTES]
              output strings of at least BYTES graphic chars; 3 is implied when BYTES is not specified
$ printf 'a b\0' | od -S3
0000000 a b

?

наб

#1037217#10
Date:
2023-06-08 10:08:56 UTC
From:
To:
This isn't specified by POSIX,
so let's match the docs to the operation.
Done upstream in the attached.

cheers,
Pádraig