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