[Bug 265175] Pipe error with csh/tcsh

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 12 Jul 2022 17:00:42 UTC

            Bug ID: 265175
           Summary: Pipe error with csh/tcsh
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: niko.nastonen@icloud.com

Created attachment 235222
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=235222&action=edit
Screenshot of shell output

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

when ran as root on csh/tcsh, does not _always_ show the output of the second
command, but prints only the headers. The main word here is "always", as
sometimes it works fine, but sometimes shows only the headers of vmstat. When
commands are separated with a semicolon, everything works fine. Reproducible on
2 separate machines via ssh and on physical console. Bug shows itself only when
the command is ran by root, everything works fine with normal user.

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