debian man page for mispipe

Query: mispipe

OS: debian

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

mispipe(1)																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 command 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 2006-09-07 mispipe(1)
Related Man Pages
exit(1) - x11r4
return(1) - osf1
return(1) - freebsd
return(1) - minix
exit(1) - plan9
Similar Topics in the Unix Linux Community
Replace line with sed on OS X