[Bug 249522] wc(1) prints leading spaces before the count, which appears to not be POSIX-compliant
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Sep 22 18:39:28 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249522
--- Comment #2 from Mateusz Piotrowski <0mp at FreeBSD.org> ---
(In reply to Conrad Meyer from comment #1)
Ugh, sorry for the noise. I should have double checked the code samples.
The bug can be seen when using [[ in Bash, e.g.:
```
$ [[ $(echo 1) = 1 ]]; echo $?
0
$ [[ $(echo line | wc -l) = 1 ]]; echo $?
1
```
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list