[Bug 265175] Pipe error with csh/tcsh

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 15 Jul 2022 18:22:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265175

--- Comment #2 from Niko Nastonen <niko.nastonen@icloud.com> ---
Also found out that

vmstat -m | head -n 1 || vmstat -m | grep kstat_data

sometimes shows output from both commands and also only as root. As an
unprivileged user the output is only headers of vmstat, as it should be. So I
presume there is something wrong with the output of the pipe.
Mr Kyle Evans had an idea that there is a race condition inside shell / pipe
handling. That is if I understood correctly what he meant.

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