View Issue Details

IDProjectCategoryView StatusLast Update
0000368tcshGeneralpublic2022-07-15 19:09
Reporteruntitled Assigned To 
Status newResolutionopen 
Platformamd64OSFreeBSD, LinuxOS Versionall
Product Version6.23.00 
Summary0000368: Pipe error
Descriptionvmstat -m | head -n 1 && vmstat -m | grep smtn_present

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.
vmstat -m | head -n 1 || vmstat -m | grep smtn_present
sometimes shows output from both commands.

Tested on FreeBSD and Debian linux.
Steps To Reproduce- log into tcsh
- vmstat -m | head -n 1 && vmstat -m | grep smtn_present
- enter the command many-many times and see the different results
TagsNo tags attached.



2022-07-15 19:09


Issue History

Date Modified Username Field Change
2022-07-15 19:09 untitled New Issue
2022-07-15 19:09 untitled File Added: Screenshot 2022-07-15 at 22.09.23.png