https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253893

Eric <erichans...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |erichans...@gmail.com

--- Comment #26 from Eric <erichans...@gmail.com> ---
(in reply to comment #2)
(in reply to comment #11)

The incorrect/inconsistant handling of \s versus [:space:] also affects
grep(1):

[0](0) # uname -a
FreeBSD q210 14.2-RELEASE FreeBSD 14.2-RELEASE releng/14.2-n269506-c8918d6c7412
GENERIC amd64
[1](0) # grep --version
grep (BSD grep, GNU compatible) 2.6.0-FreeBSD
[2](0) # echo 'a b' | grep '[a\s]b'
[3](1) # echo 'a b' | grep '[a[:space:]]b'
a b

If deemed appropriate, I'll gladly open a new PR for this.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to