diff --git a/doc/release_new_version b/doc/release_new_version index 169d7777..1fd079de 100644 --- a/doc/release_new_version +++ b/doc/release_new_version @@ -138,11 +138,9 @@ http://www.gnu.org/software/parallel/sql.html http://www.gnu.org/software/parallel/sem.html http://www.gnu.org/software/parallel/niceload.html -pod2html src/parallel.pod > ../parallel-web/parallel/man.html -pod2html src/parallel_tutorial.pod > ../parallel-web/parallel/parallel_tutorial.html -pod2html src/sql > ../parallel-web/parallel/sql.html -pod2html src/niceload.pod > ../parallel-web/parallel/niceload.html -pod2html src/sem.pod > ../parallel-web/parallel/sem.html +cp src/*.pdf src/*.html ../parallel-web/parallel +cp src/parallel.html ../parallel-web/parallel/man.html + pushd ../parallel-web/parallel cvs up cvs ci -m "New release" @@ -174,6 +172,8 @@ New release of #GNU Parallel pi․dk/0 New in this release pi․dk/2 See the int [x] Twitter Aspect: Public +GNU Parallel - for people who live life in the parallel lane. + == Send announce == http://groups.google.com/group/comp.unix.shell/post @@ -201,13 +201,18 @@ cc:Sandro Cazzaniga , Ryoichiro Suzuki , Jesse Alama -Subject: GNU Parallel 20130922 ('') released +Subject: GNU Parallel 20130922 ('Manning') released -GNU Parallel 20130922 ('') has been released. It is +GNU Parallel 20130922 ('Manning') has been released. It is available for download at: http://ftp.gnu.org/gnu/parallel/ +This release has no new features, and very few changes, making it a +good candidate for a stable release. + New in this release: +* PDF-files of documentation is now included. + * Cloning at warp speed 100 VMs in 1 minute using one command line http://www.beebotech.com.au/tag/command-line/ diff --git a/src/Makefile.am b/src/Makefile.am index 264ef53a..5cc4a4c2 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -68,23 +68,23 @@ niceload.texi: niceload.pod parallel.pdf: parallel.pod # If pod2pdf is not installed: Forget about it - pod2pdf --output-file $(srcdir)/parallel.pdf $(srcdir)/parallel.pod || true + pod2pdf --output-file $(srcdir)/parallel.pdf $(srcdir)/parallel.pod --title "GNU Parallel" || true parallel_tutorial.pdf: parallel_tutorial.pod # If pod2pdf is not installed: Forget about it - pod2pdf --output-file $(srcdir)/parallel_tutorial.pdf $(srcdir)/parallel_tutorial.pod || true + pod2pdf --output-file $(srcdir)/parallel_tutorial.pdf $(srcdir)/parallel_tutorial.pod --title "GNU Parallel Tutorial" || true sem.pdf: sem.pod # If pod2pdf is not installed: Forget about it - pod2pdf --output-file $(srcdir)/sem.pdf $(srcdir)/sem.pod || true + pod2pdf --output-file $(srcdir)/sem.pdf $(srcdir)/sem.pod --title "GNU sem" || true sql.pdf: sql # If pod2pdf is not installed: Forget about it - pod2pdf --output-file $(srcdir)/sql.pdf $(srcdir)/sql || true + pod2pdf --output-file $(srcdir)/sql.pdf $(srcdir)/sql --title "GNU SQL" || true niceload.pdf: niceload.pod # If pod2pdf is not installed: Forget about it - pod2pdf --output-file $(srcdir)/niceload.pdf $(srcdir)/niceload.pod || true + pod2pdf --output-file $(srcdir)/niceload.pdf $(srcdir)/niceload.pod --title "GNU niceload" || true sem: parallel ln -fs parallel sem diff --git a/src/Makefile.in b/src/Makefile.in index e4a94591..eea93179 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -555,23 +555,23 @@ niceload.texi: niceload.pod parallel.pdf: parallel.pod # If pod2pdf is not installed: Forget about it - pod2pdf --output-file $(srcdir)/parallel.pdf $(srcdir)/parallel.pod || true + pod2pdf --output-file $(srcdir)/parallel.pdf $(srcdir)/parallel.pod --title "GNU Parallel" || true parallel_tutorial.pdf: parallel_tutorial.pod # If pod2pdf is not installed: Forget about it - pod2pdf --output-file $(srcdir)/parallel_tutorial.pdf $(srcdir)/parallel_tutorial.pod || true + pod2pdf --output-file $(srcdir)/parallel_tutorial.pdf $(srcdir)/parallel_tutorial.pod --title "GNU Parallel Tutorial" || true sem.pdf: sem.pod # If pod2pdf is not installed: Forget about it - pod2pdf --output-file $(srcdir)/sem.pdf $(srcdir)/sem.pod || true + pod2pdf --output-file $(srcdir)/sem.pdf $(srcdir)/sem.pod --title "GNU sem" || true sql.pdf: sql # If pod2pdf is not installed: Forget about it - pod2pdf --output-file $(srcdir)/sql.pdf $(srcdir)/sql || true + pod2pdf --output-file $(srcdir)/sql.pdf $(srcdir)/sql --title "GNU SQL" || true niceload.pdf: niceload.pod # If pod2pdf is not installed: Forget about it - pod2pdf --output-file $(srcdir)/niceload.pdf $(srcdir)/niceload.pod || true + pod2pdf --output-file $(srcdir)/niceload.pdf $(srcdir)/niceload.pod --title "GNU niceload" || true sem: parallel ln -fs parallel sem diff --git a/src/niceload.pdf b/src/niceload.pdf new file mode 100644 index 00000000..7119ec4d Binary files /dev/null and b/src/niceload.pdf differ diff --git a/src/parallel b/src/parallel index eeda057b..6802ff49 100755 --- a/src/parallel +++ b/src/parallel @@ -6115,7 +6115,7 @@ sub acquire { # Acquire the lock anyway if(not -e $self->{'idfile'}) { open (my $fh, ">", $self->{'idfile'}) or - ::die_bug("write_idfile: $self->{'idfile'}"); + ::die_bug("timeout_write_idfile: $self->{'idfile'}"); close $fh; } link $self->{'idfile'}, $self->{'pidfile'}; diff --git a/src/parallel.pdf b/src/parallel.pdf new file mode 100644 index 00000000..ac360e7e Binary files /dev/null and b/src/parallel.pdf differ diff --git a/src/parallel.texi b/src/parallel.texi index f1c93b7f..144c767f 100644 --- a/src/parallel.texi +++ b/src/parallel.texi @@ -2124,6 +2124,18 @@ can be written like this: @strong{parallel echo @{1@} @{2@} ::: M F ::: S M L XL XXL | sort} +@chapter EXAMPLE: Finding the lowest difference between files +@anchor{EXAMPLE: Finding the lowest difference between files} + +@strong{diff} is good for finding differences in text files. @strong{diff | wc -l} +gives an indication of the size of the difference. To find the +differences between all files in the current dir do: + +@strong{parallel --tag 'diff @{1@} @{2@} | wc -l' ::: * ::: * | sort -nk3} + +This way it is possible to see if some files are closer to other +files. + @chapter EXAMPLE: for-loops with column names @anchor{EXAMPLE: for-loops with column names} diff --git a/src/parallel_tutorial.1 b/src/parallel_tutorial.1 index 72fd18b6..7bf969bf 100644 --- a/src/parallel_tutorial.1 +++ b/src/parallel_tutorial.1 @@ -129,8 +129,8 @@ .\" way too many mistakes in technical documents. .if n .ad l .nh -.SH "GNU Parallel tutorial" -.IX Header "GNU Parallel tutorial" +.SH "GNU Parallel Tutorial" +.IX Header "GNU Parallel Tutorial" This tutorial shows off much of \s-1GNU\s0 Parallel's functionality. The tutorial is meant to learn the options in \s-1GNU\s0 Parallel. The tutorial is not to show realistic examples from the real world. diff --git a/src/parallel_tutorial.html b/src/parallel_tutorial.html index d8b29af7..3a86065f 100644 --- a/src/parallel_tutorial.html +++ b/src/parallel_tutorial.html @@ -2,7 +2,7 @@ -GNU Parallel tutorial +GNU Parallel Tutorial @@ -16,7 +16,7 @@
    -
  • GNU Parallel tutorial
  • +
  • GNU Parallel Tutorial
  • Prerequisites
  • Input sources
    • @@ -116,7 +116,7 @@

      -

      GNU Parallel tutorial

      +

      GNU Parallel Tutorial

      This tutorial shows off much of GNU Parallel's functionality. The tutorial is meant to learn the options in GNU Parallel. The tutorial is not to show realistic examples from the real world.

      diff --git a/src/parallel_tutorial.pdf b/src/parallel_tutorial.pdf new file mode 100644 index 00000000..300f793e Binary files /dev/null and b/src/parallel_tutorial.pdf differ diff --git a/src/parallel_tutorial.pod b/src/parallel_tutorial.pod index ca323c9a..fd3d3b5c 100644 --- a/src/parallel_tutorial.pod +++ b/src/parallel_tutorial.pod @@ -1,6 +1,6 @@ #!/usr/bin/perl -w -=head1 GNU Parallel tutorial +=head1 GNU Parallel Tutorial This tutorial shows off much of GNU Parallel's functionality. The tutorial is meant to learn the options in GNU Parallel. The tutorial diff --git a/src/sem.pdf b/src/sem.pdf new file mode 100644 index 00000000..f835fb62 Binary files /dev/null and b/src/sem.pdf differ diff --git a/src/sql.pdf b/src/sql.pdf new file mode 100644 index 00000000..740dc8ce Binary files /dev/null and b/src/sql.pdf differ