Date: Tue, 22 Sep 2020 18:39:28 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 249522] wc(1) prints leading spaces before the count, which appears to not be POSIX-compliant Message-ID: <bug-249522-227-YBPcoIVWVk@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-249522-227@https.bugs.freebsd.org/bugzilla/> References: <bug-249522-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249522 --- Comment #2 from Mateusz Piotrowski <0mp@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) =3D 1 ]]; echo $? 0 $ [[ $(echo line | wc -l) =3D 1 ]]; echo $? 1 ``` --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-249522-227-YBPcoIVWVk>