1PARCAT(1)                          parallel                          PARCAT(1)
2
3
4

NAME

6       parcat - cat files or fifos in parallel
7

SYNOPSIS

9       parcat [--rm] [-#] file(s) [-#] file(s)
10

DESCRIPTION

12       GNU parcat reads files or fifos in parallel. It writes full lines so
13       there will be no problem with mixed-half-lines which you risk if you
14       use:
15
16          (cat file1 & cat file2 &) | ...
17
18       Arguments can be given on the command line or passed in on stdin
19       (standard input).
20

OPTIONS

22       -#       Arguments following this will be sent to the file descriptor
23                #. E.g.
24
25                  parcat -1 stdout1 stdout2 -2 stderr1 stderr2
26
27                will send stdout1 and stdout2 to stdout (standard output =
28                file descriptor 1), and send stderr1 and stderr2 to stderr
29                (standard error = file descriptor 2).
30
31       --rm     Remove files after opening. As soon as the files are opened,
32                unlink the files.
33

EXAMPLES

35   Simple line buffered output
36       GNU Parallel saves output to tempfiles. If the amount of data is bigger
37       than the free disk space, then you can use this technique to do line
38       buffering without saving to disk:
39
40         mkfifo slot-{1..5}
41         seq 10000000 | parallel -j5 --round --pipe 'cat > slot-{%}' &
42         parcat slot-{1..5} | wc
43

REPORTING BUGS

45       GNU parcat is part of GNU parallel. Report bugs to
46       <bug-parallel@gnu.org>.
47

AUTHOR

49       Copyright (C) 2016,2017,2018 Ole Tange, http://ole.tange.dk and Free
50       Software Foundation, Inc.
51

LICENSE

53       Copyright (C) 2007,2008,2009,2010,2011 Free Software Foundation, Inc.
54
55       This program is free software; you can redistribute it and/or modify it
56       under the terms of the GNU General Public License as published by the
57       Free Software Foundation; either version 3 of the License, or at your
58       option any later version.
59
60       This program is distributed in the hope that it will be useful, but
61       WITHOUT ANY WARRANTY; without even the implied warranty of
62       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
63       General Public License for more details.
64
65       You should have received a copy of the GNU General Public License along
66       with this program.  If not, see <http://www.gnu.org/licenses/>.
67
68   Documentation license I
69       Permission is granted to copy, distribute and/or modify this
70       documentation under the terms of the GNU Free Documentation License,
71       Version 1.3 or any later version published by the Free Software
72       Foundation; with no Invariant Sections, with no Front-Cover Texts, and
73       with no Back-Cover Texts.  A copy of the license is included in the
74       file fdl.txt.
75
76   Documentation license II
77       You are free:
78
79       to Share to copy, distribute and transmit the work
80
81       to Remix to adapt the work
82
83       Under the following conditions:
84
85       Attribution
86                You must attribute the work in the manner specified by the
87                author or licensor (but not in any way that suggests that they
88                endorse you or your use of the work).
89
90       Share Alike
91                If you alter, transform, or build upon this work, you may
92                distribute the resulting work only under the same, similar or
93                a compatible license.
94
95       With the understanding that:
96
97       Waiver   Any of the above conditions can be waived if you get
98                permission from the copyright holder.
99
100       Public Domain
101                Where the work or any of its elements is in the public domain
102                under applicable law, that status is in no way affected by the
103                license.
104
105       Other Rights
106                In no way are any of the following rights affected by the
107                license:
108
109                ·        Your fair dealing or fair use rights, or other
110                         applicable copyright exceptions and limitations;
111
112                ·        The author's moral rights;
113
114                ·        Rights other persons may have either in the work
115                         itself or in how the work is used, such as publicity
116                         or privacy rights.
117
118       Notice   For any reuse or distribution, you must make clear to others
119                the license terms of this work.
120
121       A copy of the full license is included in the file as cc-by-sa.txt.
122

DEPENDENCIES

124       GNU parcat uses Perl.
125

SEE ALSO

127       cat(1), parallel(1)
128
129
130
13120180122                          2018-02-05                         PARCAT(1)
Impressum