[Bug 265175] Pipe error with csh/tcsh

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

Martin Waschb├╝sch <martin@waschbuesch.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |martin@waschbuesch.de

--- Comment #1 from Martin Waschb├╝sch <martin@waschbuesch.de> ---
(In reply to Niko Nastonen from comment #0)

I could reproduce what you describe, but are you sure it is pipes that are the
problem?

If I try with other commands such as:
df -h | head -n 1 && df -h | grep tmp

I do not see this behavior at all, while on the other hand
sockstat | head -n 1 && sockstat | grep root

always shows this behavior.

As you said, using ; makes it work every time in all cases.

To me it seems like the && operator is somehow causing this (though I do not
have any idea why).

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