diff --git a/doc/release_new_version b/doc/release_new_version index 155def22..c68a9157 100644 --- a/doc/release_new_version +++ b/doc/release_new_version @@ -234,8 +234,12 @@ New in this release: * Processes Paralleling to Speed up Computing and Tasks Execution in Linux http://kukuruku.co/hub/nix/processes-paralleling-to-speed-up-computing-and-tasks-execution-in-linux +* Moving / Copying lots of s3 files quickly using gnu parallel http://blog.aclarke.eu/moving-copying-lots-of-s3-files-quickly-using-gnu-parallel/ + * Speeding up grep log queries with GNU Parallel http://www.tripwire.com/state-of-security/incident-detection/speeding-grep-queries-gnu-parallel/ +* Ubuntu - Gnu parallel - It's awesome http://kasunweranga.blogspot.dk/2014/06/ubuntu-gnu-parallel-its-awesome.html + * Export quicklooks with vector overlay using TuiView http://spectraldifferences.wordpress.com/2014/03/08/export-quicklooks-with-vector-overlay-using-tuiview/ * GNU Parallel指南 http://my.oschina.net/enyo/blog/271612 diff --git a/src/Makefile.in b/src/Makefile.in index dc3d75be..b04f78f5 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -175,8 +175,8 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ bin_SCRIPTS = parallel sem sql niceload -man_MANS = parallel.1 sem.1 sql.1 niceload.1 parallel_tutorial.1 -doc_DATA = parallel.html sem.html sql.html niceload.html parallel_tutorial.html parallel.texi sem.texi sql.texi niceload.texi parallel_tutorial.texi parallel.pdf sem.pdf sql.pdf niceload.pdf parallel_tutorial.pdf +@DOCUMENTATION_TRUE@man_MANS = parallel.1 sem.1 sql.1 niceload.1 parallel_tutorial.1 +@DOCUMENTATION_TRUE@doc_DATA = parallel.html sem.html sql.html niceload.html parallel_tutorial.html parallel.texi sem.texi sql.texi niceload.texi parallel_tutorial.texi parallel.pdf sem.pdf sql.pdf niceload.pdf parallel_tutorial.pdf DISTCLEANFILES = parallel.1 sem.1 sql.1 niceload.1 parallel_tutorial.1 \ parallel.html sem.html sql.html niceload.html parallel_tutorial.html \ parallel.texi sem.texi sql.texi niceload.texi parallel_tutorial.texi \ diff --git a/src/niceload.pdf b/src/niceload.pdf index aa3f90f2..778feaf9 100644 Binary files a/src/niceload.pdf and b/src/niceload.pdf differ diff --git a/src/parallel.pdf b/src/parallel.pdf index 57741ba7..3773e717 100644 Binary files a/src/parallel.pdf and b/src/parallel.pdf differ diff --git a/src/parallel.pod b/src/parallel.pod index 6ed228f6..e265761a 100644 --- a/src/parallel.pod +++ b/src/parallel.pod @@ -1372,6 +1372,14 @@ Like this: B<--shebang> must be set as the first option. +On FreeBSD B is needed: + + #!/usr/bin/env -S parallel --shebang -r traceroute + + foss.org.my + debian.org + freenetproject.org + =item B<--shebang-wrap> @@ -2202,10 +2210,11 @@ characters (e.g. space) you can quote them using B<'"$VAR"'> or using =head1 EXAMPLE: Group output lines When running jobs that output data, you often do not want the output -of multiple jobs to run together. GNU B defaults to grouping the -output of each job, so the output is printed when the job finishes. If -you want the output to be printed while the job is running you can use -B<-u>. +of multiple jobs to run together. GNU B defaults to grouping +the output of each job, so the output is printed when the job +finishes. If you want full lines to be printed while the job is +running you can use B<--line-buffer>. If you want output to be +printed as soon as possible you can use B<-u>. Compare the output of: @@ -2213,6 +2222,10 @@ B to the output of: +B + +and: + B @@ -2224,6 +2237,10 @@ that more visible: B +B<--tag> works with B<--line-buffer> but not with B<-u>: + +B + Check the uptime of the servers in I<~/.parallel/sshloginfile>: B @@ -3963,3 +3980,4 @@ B(1), B(1), B(1), B(1), B(1), B(1), B(1) =cut + diff --git a/src/parallel.texi b/src/parallel.texi index 19911a59..0bc7489f 100644 --- a/src/parallel.texi +++ b/src/parallel.texi @@ -1526,6 +1526,16 @@ Like this: @strong{--shebang} must be set as the first option. +On FreeBSD @strong{env} is needed: + +@verbatim + #!/usr/bin/env -S parallel --shebang -r traceroute + + foss.org.my + debian.org + freenetproject.org +@end verbatim + @item @strong{--shebang-wrap} @anchor{@strong{--shebang-wrap}} @@ -2426,10 +2436,11 @@ characters (e.g. space) you can quote them using @strong{'"$VAR"'} or using @chapter EXAMPLE: Group output lines When running jobs that output data, you often do not want the output -of multiple jobs to run together. GNU @strong{parallel} defaults to grouping the -output of each job, so the output is printed when the job finishes. If -you want the output to be printed while the job is running you can use -@strong{-u}. +of multiple jobs to run together. GNU @strong{parallel} defaults to grouping +the output of each job, so the output is printed when the job +finishes. If you want full lines to be printed while the job is +running you can use @strong{--line-buffer}. If you want output to be +printed as soon as possible you can use @strong{-u}. Compare the output of: @@ -2437,6 +2448,10 @@ Compare the output of: to the output of: +@strong{parallel --line-buffer traceroute ::: foss.org.my debian.org freenetproject.org} + +and: + @strong{parallel -u traceroute ::: foss.org.my debian.org freenetproject.org} @node EXAMPLE: Tag output lines @@ -2448,6 +2463,10 @@ that more visible: @strong{parallel --tag traceroute ::: foss.org.my debian.org freenetproject.org} +@strong{--tag} works with @strong{--line-buffer} but not with @strong{-u}: + +@strong{parallel --tag --line-buffer traceroute ::: foss.org.my debian.org freenetproject.org} + Check the uptime of the servers in @emph{~/.parallel/sshloginfile}: @strong{parallel --tag -S .. --nonall uptime} diff --git a/src/parallel_tutorial.1 b/src/parallel_tutorial.1 index 9efa7aee..4a0fdd27 100644 --- a/src/parallel_tutorial.1 +++ b/src/parallel_tutorial.1 @@ -124,7 +124,7 @@ .\" ======================================================================== .\" .IX Title "PARALLEL_TUTORIAL 1" -.TH PARALLEL_TUTORIAL 1 "2014-06-13" "20140613" "parallel" +.TH PARALLEL_TUTORIAL 1 "2014-06-22" "20140613" "parallel" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l diff --git a/src/parallel_tutorial.pdf b/src/parallel_tutorial.pdf index 87687451..3101aa1d 100644 Binary files a/src/parallel_tutorial.pdf and b/src/parallel_tutorial.pdf differ diff --git a/src/sem.pdf b/src/sem.pdf index ddb8ca5d..3c6555e5 100644 Binary files a/src/sem.pdf and b/src/sem.pdf differ