aboutsummaryrefslogtreecommitdiff
path: root/sysutils/moreutils/files/moreutils-parallel.1
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-11-24 18:28:47 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-11-24 18:28:47 +0000
commit4f414b49bbce85581e24485af932ae0900cd8e0a (patch)
treeb5264c1a4f6b8cb48fa9952b0836aa6f7528751a /sysutils/moreutils/files/moreutils-parallel.1
parentb33fdce6d23b7a80328bb088acf92170bc4b247e (diff)
downloadports-4f414b49bbce85581e24485af932ae0900cd8e0a.tar.gz
ports-4f414b49bbce85581e24485af932ae0900cd8e0a.zip
Notes
Diffstat (limited to 'sysutils/moreutils/files/moreutils-parallel.1')
-rw-r--r--sysutils/moreutils/files/moreutils-parallel.19
1 files changed, 6 insertions, 3 deletions
diff --git a/sysutils/moreutils/files/moreutils-parallel.1 b/sysutils/moreutils/files/moreutils-parallel.1
index f8166176c437..3856042d8fd1 100644
--- a/sysutils/moreutils/files/moreutils-parallel.1
+++ b/sysutils/moreutils/files/moreutils-parallel.1
@@ -63,15 +63,18 @@ Number of arguments to pass to a command at a time\&. Default is 1\&. Incompatib
.RE
.SH "EXAMPLE"
.PP
-.HP \w'\fBparallel\ sh\ \-c\ "echo\ hi;\ sleep\ 2;\ echo\ bye"\ \-\-\ 1\ 2\ 3\fR\ 'u \fBparallel sh \-c "echo hi; sleep 2; echo bye" \-\- 1 2 3\fR
+
+\fBparallel sh \-c "echo hi; sleep 2; echo bye" \-\- 1 2 3\fR
.PP
This runs three subshells that each print a message, delay, and print another message\&. If your system has multiple CPUs, parallel will run some of the jobs in parallel, which should be clear from the order the messages are output\&.
.PP
-.HP \w'\fBparallel\ \-j\ 3\ ufraw\ \-o\ processed\ \-\-\ *\&.NEF\fR\ 'u \fBparallel \-j 3 ufraw \-o processed \-\- *\&.NEF\fR
+
+\fBparallel \-j 3 ufraw \-o processed \-\- *\&.NEF\fR
.PP
This runs three ufraw processes at the same time until all of the NEF files have been processed\&.
.PP
-.HP \w'\fBparallel\ \-j\ 3\ \-\-\ ls\ df\ "echo\ hi"\fR\ 'u \fBparallel \-j 3 \-\- ls df "echo hi"\fR
+
+\fBparallel \-j 3 \-\- ls df "echo hi"\fR
.PP
This runs three independent commands in parallel\&.
.SH "EXIT STATUS"