Date: Wed, 15 Jan 2025 21:48:56 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 253893] sed "/^\s*$/d" complains about trailing backslash (\) Message-ID: <bug-253893-227-mj0o3GSe8t@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-253893-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253893 Eric <erichanskrs@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |erichanskrs@gmail.com --- Comment #26 from Eric <erichanskrs@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.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253893-227-mj0o3GSe8t>
