1MISPIPE(1)                         moreutils                        MISPIPE(1)
2
3
4

NAME

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

SYNOPSIS

9       mispipe ["command1"] ["command2"]
10

DESCRIPTION

12       mispipe pipes two commands together like the shell does, but unlike
13       piping in the shell, which returns the exit status of the last command;
14       when using mispipe, the exit status of the first command is returned.
15
16       Note that some shells, notably bash, do offer a pipefail option,
17       however, that option does not behave the same since it makes a failure
18       of any command in the pipeline be returned, not just the exit status of
19       the first.
20

EXIT STATUS

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

AUTHOR

26       Nathanael Nerode
27
28
29
30moreutils                         2006-09-07                        MISPIPE(1)
Impressum