From 72df609f3dad8c5ea67103e5dffdeee37fdd27b2 Mon Sep 17 00:00:00 2001 From: Ole Tange Date: Tue, 22 Mar 2016 21:14:10 +0100 Subject: [PATCH] Released as 20160322 ('Bruxelles') --- NEWS | 25 +++++++++++ README | 12 +++--- configure | 20 ++++----- configure.ac | 2 +- src/Makefile.am | 2 +- src/Makefile.in | 2 +- src/niceload | 2 +- src/parallel | 4 +- src/sql | 2 +- testsuite/wanted-results/parallel-install | 46 +++++++++++++++++++-- testsuite/wanted-results/parallel-local114 | Bin 12819 -> 13189 bytes 11 files changed, 91 insertions(+), 26 deletions(-) diff --git a/NEWS b/NEWS index 127a6d49..b4286fea 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,28 @@ +20160322 + +* env_parallel is a function that exports the environment (functions, + aliases, variables, and arrays) to GNU Parallel. + +* niceload --prg now searches for substrings if no process with the + name is found. + +* GNU Parallel was cited in: Random Forest DBSCAN for USPTO Inventor + Name Disambiguation http://arxiv.org/pdf/1602.01792.pdf + +* GNU Parallel was mentioned (with wrong citation) in: Dual Level + Parallel Computations for LargeScale High-Fidelity Database to + Design Aerospace Vehicles + http://www.nas.nasa.gov/assets/pdf/papers/Guruswamy_2013_DualLevelParallelComputations.pdf + +* Using ‘Parallel’ in Unix + https://shearnrylan.wordpress.com/2016/02/22/using-parallel-in-unix/ + +* JPEG Squish uses (and co-distributes) GNU Parallel: + http://dantidswell.co.uk/jpeg-squish/ + +* Bug fixes and man page updates. + + 20160222 * Vote for new community on Superuser, Ask Ubuntu, Unix&Linux diff --git a/README b/README index 6c285a51..59df408c 100644 --- a/README +++ b/README @@ -40,9 +40,9 @@ document. Full installation of GNU Parallel is as simple as: - wget http://ftpmirror.gnu.org/parallel/parallel-20160222.tar.bz2 - bzip2 -dc parallel-20160222.tar.bz2 | tar xvf - - cd parallel-20160222 + wget http://ftpmirror.gnu.org/parallel/parallel-20160322.tar.bz2 + bzip2 -dc parallel-20160322.tar.bz2 | tar xvf - + cd parallel-20160322 ./configure && make && sudo make install @@ -51,9 +51,9 @@ Full installation of GNU Parallel is as simple as: If you are not root you can add ~/bin to your path and install in ~/bin and ~/share: - wget http://ftpmirror.gnu.org/parallel/parallel-20160222.tar.bz2 - bzip2 -dc parallel-20160222.tar.bz2 | tar xvf - - cd parallel-20160222 + wget http://ftpmirror.gnu.org/parallel/parallel-20160322.tar.bz2 + bzip2 -dc parallel-20160322.tar.bz2 | tar xvf - + cd parallel-20160322 ./configure --prefix=$HOME && make && make install Or if your system lacks 'make' you can simply copy src/parallel diff --git a/configure b/configure index 74aa7a4c..9b19b685 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for parallel 20160222. +# Generated by GNU Autoconf 2.69 for parallel 20160322. # # Report bugs to . # @@ -579,8 +579,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='parallel' PACKAGE_TARNAME='parallel' -PACKAGE_VERSION='20160222' -PACKAGE_STRING='parallel 20160222' +PACKAGE_VERSION='20160322' +PACKAGE_STRING='parallel 20160322' PACKAGE_BUGREPORT='bug-parallel@gnu.org' PACKAGE_URL='' @@ -1203,7 +1203,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures parallel 20160222 to adapt to many kinds of systems. +\`configure' configures parallel 20160322 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1269,7 +1269,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of parallel 20160222:";; + short | recursive ) echo "Configuration of parallel 20160322:";; esac cat <<\_ACEOF @@ -1345,7 +1345,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -parallel configure 20160222 +parallel configure 20160322 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1362,7 +1362,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by parallel $as_me 20160222, which was +It was created by parallel $as_me 20160322, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2225,7 +2225,7 @@ fi # Define the identity of the package. PACKAGE='parallel' - VERSION='20160222' + VERSION='20160322' cat >>confdefs.h <<_ACEOF @@ -2867,7 +2867,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by parallel $as_me 20160222, which was +This file was extended by parallel $as_me 20160322, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -2929,7 +2929,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -parallel config.status 20160222 +parallel config.status 20160322 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/configure.ac b/configure.ac index ef69a0f5..2108b35d 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([parallel], [20160222], [bug-parallel@gnu.org]) +AC_INIT([parallel], [20160322], [bug-parallel@gnu.org]) AM_INIT_AUTOMAKE([-Wall -Werror foreign]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_FILES([ diff --git a/src/Makefile.am b/src/Makefile.am index a617a155..556e0e1a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -174,5 +174,5 @@ DISTCLEANFILES = parallel.1 env_parallel.1 sem.1 sql.1 niceload.1 \ EXTRA_DIST = parallel sem sql niceload env_parallel \ env_parallel.bash env_parallel.zsh env_parallel.fish env_parallel.ksh \ - sem.pod parallel.pod niceload.pod parallel_tutorial.pod parallel_design.pod \ + sem.pod parallel.pod env_parallel.pod niceload.pod parallel_tutorial.pod parallel_design.pod \ $(DISTCLEANFILES) diff --git a/src/Makefile.in b/src/Makefile.in index e50ece64..60001df9 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -236,7 +236,7 @@ DISTCLEANFILES = parallel.1 env_parallel.1 sem.1 sql.1 niceload.1 \ EXTRA_DIST = parallel sem sql niceload env_parallel \ env_parallel.bash env_parallel.zsh env_parallel.fish env_parallel.ksh \ - sem.pod parallel.pod niceload.pod parallel_tutorial.pod parallel_design.pod \ + sem.pod parallel.pod env_parallel.pod niceload.pod parallel_tutorial.pod parallel_design.pod \ $(DISTCLEANFILES) all: all-am diff --git a/src/niceload b/src/niceload index 39720b3c..abd55669 100755 --- a/src/niceload +++ b/src/niceload @@ -24,7 +24,7 @@ use strict; use Getopt::Long; $Global::progname="niceload"; -$Global::version = 20160223; +$Global::version = 20160322; Getopt::Long::Configure("bundling","require_order"); get_options_from_array(\@ARGV) || die_usage(); if($opt::version) { diff --git a/src/parallel b/src/parallel index 0ebf02fa..e3b3e669 100755 --- a/src/parallel +++ b/src/parallel @@ -1180,7 +1180,7 @@ sub check_invalid_option_combinations { sub init_globals { # Defaults: - $Global::version = 20160223; + $Global::version = 20160322; $Global::progname = 'parallel'; $Global::infinity = 2**31; $Global::debug = 0; @@ -9143,7 +9143,7 @@ sub get { } my $ret = $self->{'arg_sub_queue'}->get(); if($ret and - grep { index($_->orig(),"\0") != -1 } map { @$_ } $ret) { + grep { index($_->orig(),"\0") > 0 } map { @$_ } $ret) { ::warning("a NUL character occurred in the input.", "It cannot be passed through in the argument list.", "Did you mean to use the --null option?"); diff --git a/src/sql b/src/sql index 92a0a5a3..82db4569 100755 --- a/src/sql +++ b/src/sql @@ -566,7 +566,7 @@ $Global::Initfile && unlink $Global::Initfile; exit ($err); sub parse_options { - $Global::version = 20160222; + $Global::version = 20160322; $Global::progname = 'sql'; # This must be done first as this may exec myself diff --git a/testsuite/wanted-results/parallel-install b/testsuite/wanted-results/parallel-install index e8f4cc0a..c4da91cf 100644 --- a/testsuite/wanted-results/parallel-install +++ b/testsuite/wanted-results/parallel-install @@ -39,6 +39,12 @@ pod2man --release='00000000' --center='parallel' \ || echo "Warning: pod2man not found. Using old parallel.1" /bin/bash: pod2man: command not found Warning: pod2man not found. Using old parallel.1 +pod2man --release='00000000' --center='parallel' \ + --section=1 ./env_parallel.pod > ./env_parallel.1n \ + && mv ./env_parallel.1n ./env_parallel.1 \ + || echo "Warning: pod2man not found. Using old env_parallel.1" +/bin/bash: pod2man: command not found +Warning: pod2man not found. Using old env_parallel.1 pod2man --release='00000000' --center='parallel' \ --section=1 ./sem.pod > ./sem.1n \ && mv ./sem.1n ./sem.1 \ @@ -75,6 +81,12 @@ pod2html --title "GNU Parallel" ./parallel.pod > ./parallel.htmln \ /bin/bash: pod2html: command not found Warning: pod2html not found. Using old parallel.html rm -f ./pod2htm* +pod2html --title "GNU Parallel with environment" ./env_parallel.pod > ./env_parallel.htmln \ + && mv ./env_parallel.htmln ./env_parallel.html \ + || echo "Warning: pod2html not found. Using old env_parallel.html" +/bin/bash: pod2html: command not found +Warning: pod2html not found. Using old env_parallel.html +rm -f ./pod2htm* pod2html --title "GNU Parallel design" ./parallel_design.pod > ./parallel_design.htmln \ && mv ./parallel_design.htmln ./parallel_design.html \ || echo "Warning: pod2html not found. Using old parallel_design.html" @@ -109,6 +121,10 @@ pod2texi --output=./parallel.texi ./parallel.pod \ || echo "Warning: pod2texi not found. Using old parallel.texi" /bin/bash: pod2texi: command not found Warning: pod2texi not found. Using old parallel.texi +pod2texi --output=./env_parallel.texi ./env_parallel.pod \ + || echo "Warning: pod2texi not found. Using old env_parallel.texi" +/bin/bash: pod2texi: command not found +Warning: pod2texi not found. Using old env_parallel.texi pod2texi --output=./sem.texi ./sem.pod \ || echo "Warning: pod2texi not found. Using old sem.texi" /bin/bash: pod2texi: command not found @@ -133,6 +149,10 @@ pod2pdf --output-file ./parallel.pdf ./parallel.pod --title "GNU Parallel" \ || echo "Warning: pod2pdf not found. Using old parallel.pdf" /bin/bash: pod2pdf: command not found Warning: pod2pdf not found. Using old parallel.pdf +pod2pdf --output-file ./env_parallel.pdf ./env_parallel.pod --title "GNU Parallel with environment" \ + || echo "Warning: pod2pdf not found. Using old env_parallel.pdf" +/bin/bash: pod2pdf: command not found +Warning: pod2pdf not found. Using old env_parallel.pdf pod2pdf --output-file ./sem.pdf ./sem.pod --title "GNU sem" \ || echo "Warning: pod2pdf not found. Using old sem.pdf" /bin/bash: pod2pdf: command not found @@ -155,7 +175,7 @@ pod2pdf --output-file ./parallel_design.pdf ./parallel_design.pod --title "GNU P Warning: pod2pdf not found. Using old parallel_design.pdf make[0]: Entering directory `/tmp/parallel-00000000/src' /bin/mkdir -p '/usr/local/bin' - /usr/bin/install -c parallel sql niceload env_parallel.bash env_parallel.zsh env_parallel.fish env_parallel.ksh '/usr/local/bin' + /usr/bin/install -c parallel sql niceload env_parallel env_parallel.bash env_parallel.zsh env_parallel.fish env_parallel.ksh '/usr/local/bin' make install-exec-hook make[0]: Entering directory `/tmp/parallel-00000000/src' rm /usr/local/bin/sem || true @@ -167,6 +187,12 @@ pod2html --title "GNU Parallel" ./parallel.pod > ./parallel.htmln \ /bin/bash: pod2html: command not found Warning: pod2html not found. Using old parallel.html rm -f ./pod2htm* +pod2html --title "GNU Parallel with environment" ./env_parallel.pod > ./env_parallel.htmln \ + && mv ./env_parallel.htmln ./env_parallel.html \ + || echo "Warning: pod2html not found. Using old env_parallel.html" +/bin/bash: pod2html: command not found +Warning: pod2html not found. Using old env_parallel.html +rm -f ./pod2htm* pod2html --title "GNU Parallel design" ./parallel_design.pod > ./parallel_design.htmln \ && mv ./parallel_design.htmln ./parallel_design.html \ || echo "Warning: pod2html not found. Using old parallel_design.html" @@ -201,6 +227,10 @@ pod2texi --output=./parallel.texi ./parallel.pod \ || echo "Warning: pod2texi not found. Using old parallel.texi" /bin/bash: pod2texi: command not found Warning: pod2texi not found. Using old parallel.texi +pod2texi --output=./env_parallel.texi ./env_parallel.pod \ + || echo "Warning: pod2texi not found. Using old env_parallel.texi" +/bin/bash: pod2texi: command not found +Warning: pod2texi not found. Using old env_parallel.texi pod2texi --output=./sem.texi ./sem.pod \ || echo "Warning: pod2texi not found. Using old sem.texi" /bin/bash: pod2texi: command not found @@ -225,6 +255,10 @@ pod2pdf --output-file ./parallel.pdf ./parallel.pod --title "GNU Parallel" \ || echo "Warning: pod2pdf not found. Using old parallel.pdf" /bin/bash: pod2pdf: command not found Warning: pod2pdf not found. Using old parallel.pdf +pod2pdf --output-file ./env_parallel.pdf ./env_parallel.pod --title "GNU Parallel with environment" \ + || echo "Warning: pod2pdf not found. Using old env_parallel.pdf" +/bin/bash: pod2pdf: command not found +Warning: pod2pdf not found. Using old env_parallel.pdf pod2pdf --output-file ./sem.pdf ./sem.pod --title "GNU sem" \ || echo "Warning: pod2pdf not found. Using old sem.pdf" /bin/bash: pod2pdf: command not found @@ -246,13 +280,19 @@ pod2pdf --output-file ./parallel_design.pdf ./parallel_design.pod --title "GNU P /bin/bash: pod2pdf: command not found Warning: pod2pdf not found. Using old parallel_design.pdf /bin/mkdir -p '/usr/local/share/doc/parallel' - /usr/bin/install -c -m 644 parallel.html sem.html sql.html niceload.html parallel_tutorial.html parallel_design.html parallel.texi sem.texi sql.texi niceload.texi parallel_tutorial.texi parallel_design.texi parallel.pdf sem.pdf sql.pdf niceload.pdf parallel_tutorial.pdf parallel_design.pdf '/usr/local/share/doc/parallel' + /usr/bin/install -c -m 644 parallel.html env_parallel.html sem.html sql.html niceload.html parallel_tutorial.html parallel_design.html parallel.texi env_parallel.texi sem.texi sql.texi niceload.texi parallel_tutorial.texi parallel_design.texi parallel.pdf env_parallel.pdf sem.pdf sql.pdf niceload.pdf parallel_tutorial.pdf parallel_design.pdf '/usr/local/share/doc/parallel' pod2man --release='00000000' --center='parallel' \ --section=1 ./parallel.pod > ./parallel.1n \ && mv ./parallel.1n ./parallel.1 \ || echo "Warning: pod2man not found. Using old parallel.1" /bin/bash: pod2man: command not found Warning: pod2man not found. Using old parallel.1 +pod2man --release='00000000' --center='parallel' \ + --section=1 ./env_parallel.pod > ./env_parallel.1n \ + && mv ./env_parallel.1n ./env_parallel.1 \ + || echo "Warning: pod2man not found. Using old env_parallel.1" +/bin/bash: pod2man: command not found +Warning: pod2man not found. Using old env_parallel.1 pod2man --release='00000000' --center='parallel' \ --section=1 ./sem.pod > ./sem.1n \ && mv ./sem.1n ./sem.1 \ @@ -284,7 +324,7 @@ pod2man --release='00000000' --center='parallel' \ /bin/bash: pod2man: command not found Warning: pod2man not found. Using old parallel_design.7 /bin/mkdir -p '/usr/local/share/man/man1' - /usr/bin/install -c -m 644 parallel.1 sem.1 sql.1 niceload.1 '/usr/local/share/man/man1' + /usr/bin/install -c -m 644 parallel.1 env_parallel.1 sem.1 sql.1 niceload.1 '/usr/local/share/man/man1' /bin/mkdir -p '/usr/local/share/man/man7' /usr/bin/install -c -m 644 parallel_tutorial.7 parallel_design.7 '/usr/local/share/man/man7' make[0]: Leaving directory `/tmp/parallel-00000000/src' diff --git a/testsuite/wanted-results/parallel-local114 b/testsuite/wanted-results/parallel-local114 index 92853163766b85a456c66d4596d3d4eacb564e90..cb6bfc75162e731dfe8948b1550d3576e0cc28a0 100644 GIT binary patch delta 397 zcmbQ7(we^EtxkPGVo_pFPHK*oLU>|PUS?jpl|rI|U#O2lat2T)xg@nnAwM~}w5TXG zMIkd!p(G;}NEMWp=y74u=~<$XoS2uFU!stds!)(vTnyAyl2Mdjnw|mEoLH1znwy$e zqL7nW3^c?NizzOdDGHVOr3$&Ji9ieU6-tX!!S?Fv=9T8;DC8HEWaj7DPmWVlo$Rm0 WIypjDcC)eW1D1jIiWS*j;Q|0rmyKHh delta 20 ccmZoopPaJctQ!TCAJT>;7c{0AGFxssI20