[Bug 253893] sed "/^\s*$/d" complains about trailing backslash (\)

2025-01-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253893 --- Comment #27 from Kyle Evans --- (In reply to Eric from comment #26) Yes, that one is a bug in libregex. \s (and probably the other extensions we added) support is incomplete and they aren't recognized inside a bracket expression. --

[Bug 253893] sed "/^\s*$/d" complains about trailing backslash (\)

2025-01-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253893 Eric changed: What|Removed |Added CC||erichans...@gmail.com --- Comment #26 from

[Bug 253893] sed "/^\s*$/d" complains about trailing backslash (\)

2024-03-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253893 --- Comment #25 from crb --- The comment from Sara Adam spam, don't follow the link -- You are receiving this mail because: You are the assignee for the bug.

[Bug 253893] sed "/^\s*$/d" complains about trailing backslash (\)

2024-03-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253893 Sara Adam changed: What|Removed |Added CC||saramadam...@gmail.com --- Comment #24

[Bug 253893] sed "/^\s*$/d" complains about trailing backslash (\)

2024-03-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253893 Elijah Nelson changed: What|Removed |Added CC||elijahnelso...@gmail.com --- Comme

[Bug 253893] sed "/^\s*$/d" complains about trailing backslash (\)

2023-01-30 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253893 --- Comment #22 from Kyle Evans --- (In reply to Kyle Evans from comment #21) \d doesn't actually seem to be supported in GNU sed, either? % echo "n9ne" | sed -e 's/\d/x/' n9ne % sed --version sed (GNU sed) 4.8 It's just that they're no

[Bug 253893] sed "/^\s*$/d" complains about trailing backslash (\)

2023-01-30 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253893 --- Comment #21 from Kyle Evans --- (In reply to Quanah Gibson-Mount from comment #20) Thanks; [[:digit:]] is indeed preferred, though I didn't know about \d when I implemented these extensions in libregex so I'll need to add that one to t

[Bug 253893] sed "/^\s*$/d" complains about trailing backslash (\)

2023-01-30 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253893 --- Comment #20 from Quanah Gibson-Mount --- (In reply to Quanah Gibson-Mount from comment #19) Note: fixed by using [[:digit:]] in OpenLDAP instead following the standard. -- You are receiving this mail because: You are the assignee for

[Bug 253893] sed "/^\s*$/d" complains about trailing backslash (\)

2023-01-30 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253893 Quanah Gibson-Mount changed: What|Removed |Added CC||quanah.gibsonmo...@gmail.co

[Bug 253893] sed "/^\s*$/d" complains about trailing backslash (\)

2022-05-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253893 --- Comment #18 from Kyle Evans --- (In reply to crb from comment #17) It's a one-liner to link sed against libregex instead of libc regex, bringing it up to parity with grep (i.e., \w, \W, \s, \S, \b, \B) -- the problem is that it might b

[Bug 253893] sed "/^\s*$/d" complains about trailing backslash (\)

2022-05-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253893 crb changed: What|Removed |Added CC||c...@chrisbowman.com --- Comment #17 from cr

[Bug 253893] sed "/^\s*$/d" complains about trailing backslash (\)

2022-02-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253893 Tatsuki Makino changed: What|Removed |Added CC||tatsuki_mak...@hotmail.com --- Co

[Bug 253893] sed "/^\s*$/d" complains about trailing backslash (\)

2022-02-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253893 --- Comment #15 from Kyle Evans --- (In reply to Kubilay Kocak from comment #14) Ideally someone should fix virtualenvwrapper to use a POSIX-conformant expression like I described back in comment 2. -- You are receiving this mail because

[Bug 253893] sed "/^\s*$/d" complains about trailing backslash (\)

2022-02-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253893 Kubilay Kocak changed: What|Removed |Added Keywords||needs-qa Status|New

[Bug 253893] sed "/^\s*$/d" complains about trailing backslash (\)

2022-02-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253893 Kubilay Kocak changed: What|Removed |Added See Also||https://bugs.freebsd.org/bu

[Bug 253893] sed "/^\s*$/d" complains about trailing backslash (\)

2021-10-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253893 --- Comment #13 from free...@schukraft.org --- So far, neither the port maintainer nor upstream have reacted to this issue. Effectively, the port is broken as-is, but the fix is a simple one line change in virtualenvwrapper.sh (replace \s wi

[Bug 253893] sed "/^\s*$/d" complains about trailing backslash (\)

2021-06-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253893 --- Comment #12 from Ed Maste --- (In reply to David Schlachter from comment #3) > printf "\n\n\n\n" | sed "/^\s*$/d" Note that this is not actually testing \s since we're matching 0 or more. For example, try (on 12.x or earlier): $ print

[Bug 253893] sed "/^\s*$/d" complains about trailing backslash (\)

2021-06-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253893 --- Comment #11 from Ed Maste --- GNU sed: $ echo 'a b' | gsed 's/\s/-space-/g' a-space-b FreeBSD 11: $ echo 'a b' | sed 's/\s/-space-/g' a b FreeBSD 12: $ echo 'a b' | sed 's/\s/-space-/g' a b FreeBSD 13: $ echo 'a b' | sed 's/\s/

[Bug 253893] sed "/^\s*$/d" complains about trailing backslash (\)

2021-06-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253893 John Doe changed: What|Removed |Added CC||gfpui...@m.t.kajt.de --- Comment #10 fr

[Bug 253893] sed "/^\s*$/d" complains about trailing backslash (\)

2021-04-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253893 --- Comment #9 from Kyle Evans --- (In reply to Andreas Sommer from comment #8) \s isn't supported in FreeBSD versions < 13.x, either, so this isn't a "remain supported" but "let's support this." As I noted previously, it doesn't do what y

[Bug 253893] sed "/^\s*$/d" complains about trailing backslash (\)

2021-04-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253893 Andreas Sommer changed: What|Removed |Added CC||andreas.sommer87@googlemail

[Bug 253893] sed "/^\s*$/d" complains about trailing backslash (\)

2021-02-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253893 --- Comment #7 from Kyle Evans --- (In reply to freebsd from comment #6) Yes, the message leaves a lot to be desired, unfortunately; I've not yet been able to study the impact of changing the message since this reused a preexisting "escape

[Bug 253893] sed "/^\s*$/d" complains about trailing backslash (\)

2021-02-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253893 --- Comment #6 from free...@schukraft.org --- (In reply to Kyle Evans from comment #5) Do you mean this is expected behaviour now? Because from a user's point of view, this error message is rather unhelpful: what trailing backslash? I can r

[Bug 253893] sed "/^\s*$/d" complains about trailing backslash (\)

2021-02-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253893 --- Comment #5 from Kyle Evans --- (In reply to David Schlachter from comment #4) Indeed, the error is quite intentional and to catch unexpected behavior like this. -- You are receiving this mail because: You are the assignee for the bug

[Bug 253893] sed "/^\s*$/d" complains about trailing backslash (\)

2021-02-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253893 --- Comment #4 from David Schlachter --- I believe the error is raised in p_simp_re() in /usr/src/lib/libc/regex/regcomp.c. -- You are receiving this mail because: You are the assignee for the bug.

[Bug 253893] sed "/^\s*$/d" complains about trailing backslash (\)

2021-02-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253893 David Schlachter changed: What|Removed |Added CC||fbsd-bugzi...@schlachter.ca ---

[Bug 253893] sed "/^\s*$/d" complains about trailing backslash (\)

2021-02-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253893 Kyle Evans changed: What|Removed |Added CC||kev...@freebsd.org --- Comment #2 fro

[Bug 253893] sed "/^\s*$/d" complains about trailing backslash (\)

2021-02-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253893 Yuri Pankov changed: What|Removed |Added CC||yur...@freebsd.org --- Comment #1 fr

[Bug 253893] sed "/^\s*$/d" complains about trailing backslash (\)

2021-02-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253893 Bug ID: 253893 Summary: sed "/^\s*$/d" complains about trailing backslash (\) Product: Base System Version: 13.0-STABLE Hardware: amd64 OS: Any Status: New