Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MISPIPE(1)			    moreutils			      MISPIPE(1)

NAME
     mispipe - pipe two commands, returning the exit status of the first

SYNOPSIS
     mispipe ["command1"] ["command2"]

DESCRIPTION
     mispipe  pipes two commands together like the shell does, but unlike piping
     in the shell, which returns the exit status of the last command; when using
     mispipe, the exit status of the first command is returned.

     Note that some shells, notably bash, do offer a pipefail  option,	however,
     that  option  does not behave the same since it makes a failure of any com-
     mand in the pipeline be returned, not just the exit status of the first.

EXIT STATUS
     The exit status of the first command. If the process terminated  abnormally
     (due to a signal), 128 will be added to its exit status.

AUTHOR
     Nathanael Nerode

moreutils			   2006-09-07			      MISPIPE(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mispipe&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help