/mispipe.docbook (b645b2c756f9b79cdde96a4a82c63bd9fd60fbff) (2292 bytes) (mode 100644) (type blob)
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2006 Joey Hess <joey@kitenet.net>
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.4//EN"
"file:///usr/share/xml/docbook/schema/dtd/4.4/docbookx.dtd"
[]>
<refentry>
<refentryinfo>
<address>
<email>neroden@fastmail.fm</email>
</address>
<author>
<firstname>Nathanael</firstname>
<surname>Nerode</surname>
</author>
<date>2006-09-07</date>
</refentryinfo>
<refmeta>
<refentrytitle>mispipe</refentrytitle>
<manvolnum>1</manvolnum>
</refmeta>
<refnamediv>
<refname>mispipe</refname>
<refpurpose>pipe two commands, returning the exit status of
the first</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>mispipe</command>
<arg><replaceable>"command1"</replaceable></arg>
<arg><replaceable>"command2"</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>DESCRIPTION</title>
<para><command>mispipe</command> pipes two commands
together like the shell does, but unlike piping in the
shell, the exit status of the first command is returned.
</para>
<para>
Note that some shells, notably <command>bash</command>,
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.
</para>
</refsect1>
<refsect1>
<title>EXIT STATUS</title>
<para>The exit status of the first command. If the process
terminated abnormally (due to a signal), 128 will be added
to its exit status.</para>
</refsect1>
</refentry>
Mode |
Type |
Size |
Ref |
File |
100644 |
blob |
17989 |
b7b5f53df1412df1e117607f18385b39004cdaa2 |
COPYING |
100644 |
blob |
1038 |
377121d56b79b9fbc42cabe86f4c3bae0d44bd2f |
Makefile |
100644 |
blob |
1097 |
343fd75e550b72c890ae095c283a835fed01713e |
README |
100755 |
blob |
806 |
83a4eed00f82e3bcc81856149b47cffc4091f9aa |
check-isutf8 |
100755 |
blob |
2607 |
a695935b24a5f2789c71a8affc4486859a41f737 |
combine |
040000 |
tree |
- |
994331f541c32b4d08c0bd0cb3b56c0cc08d7359 |
debian |
100644 |
blob |
13073 |
2de98a0b19372bff63be861b5adc755fa52fc74d |
ifdata.c |
100644 |
blob |
7130 |
86e90a8b2613fbd181618231a888484e3b5afda4 |
ifdata.docbook |
100644 |
blob |
3006 |
d8ecea9b8bc416154533572e1ce85a0385b7af10 |
ifne.c |
100644 |
blob |
2360 |
41fa9abe7a23b63f5afd110dcd0b3f78b0e4c531 |
ifne.docbook |
100644 |
blob |
7581 |
c5f5eeb667c425c3ef02516712c08acb72f3f557 |
isutf8.c |
100644 |
blob |
2894 |
f9c9eb59e9e15197e686a25a93d8785e4522696a |
isutf8.docbook |
100644 |
blob |
5471 |
4925409bd548b058f07defe913724868801040df |
lckdo.c |
100644 |
blob |
3261 |
8a0a4a863aba57a7a4d7b06b69414c25c21dfa17 |
lckdo.docbook |
100644 |
blob |
5783 |
d183d04a5f249072da9be3e1d30d4e205e1be021 |
mispipe.c |
100644 |
blob |
2292 |
b645b2c756f9b79cdde96a4a82c63bd9fd60fbff |
mispipe.docbook |
100644 |
blob |
5201 |
72f1426541972729a9cf8b9d3b7188e6c28e6d7a |
parallel.c |
100644 |
blob |
3497 |
b09350d3936847467354454846c0b78df97a7d87 |
parallel.docbook |
100644 |
blob |
1040 |
6ba38f78da10b61c8670b1c450fa769248ef84c4 |
pee.c |
100644 |
blob |
2082 |
18c753f289f920c9fddc06b191a2c7a031bbe391 |
pee.docbook |
100644 |
blob |
7301 |
a53a2cf1906998c91533f5f5435ceeeeb1a7cd59 |
physmem.c |
100644 |
blob |
8551 |
80733a22387f8290b77434f04a6a5dae099cc6b9 |
sponge.c |
100644 |
blob |
1753 |
185311f9aef253231febf3e0bb6b3a8dd04fc637 |
sponge.docbook |
100755 |
blob |
2515 |
ca150b4a36105ee55ca72920d6adce1aafd9a05a |
ts |
100755 |
blob |
4495 |
a77739f27d8cab6843471de92857fe5064f9ace4 |
vidir |
100755 |
blob |
1264 |
4874fe3a2c897482ca6e778e18b56a888fb8fdb9 |
vipe |
100755 |
blob |
2473 |
50026eb2735406f35fefda0ba6b12a0ca05c559c |
zrun |
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"
Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/nicolas/debian.moreutils
Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/nicolas/debian.moreutils
Clone this repository using git:
git clone git://git.rocketgit.com/user/nicolas/debian.moreutils
You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a
merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main