diff --git a/NEWS b/NEWS index f892031f..517716e3 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,22 @@ +20130922 + +* 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/ + +* Calcul Quebec's introduction to GNU Parallel + https://wiki.calculquebec.ca/w/GNU_parallel + +* Brincando com o GNU parallel + http://blog.tadeucruz.com/2013/09/brincando-com-o-gnu-parallel/ + +* GNU Parallelで並列処理を行う + http://qiita.com/PENGUINANA_/items/af27a833e835fe17f09b + +* Bug fixes and man page updates. + + 20130822 * A tutorial showing much of GNU Parallel's functionality. Spend an diff --git a/README b/README index be02b11c..52cfaa0b 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-20130822.tar.bz2 - bzip2 -dc parallel-20130822.tar.bz2 | tar xvf - - cd parallel-20130822 + wget http://ftpmirror.gnu.org/parallel/parallel-20130922.tar.bz2 + bzip2 -dc parallel-20130922.tar.bz2 | tar xvf - + cd parallel-20130922 ./configure && make && 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-20130822.tar.bz2 - bzip2 -dc parallel-20130822.tar.bz2 | tar xvf - - cd parallel-20130822 + wget http://ftpmirror.gnu.org/parallel/parallel-20130922.tar.bz2 + bzip2 -dc parallel-20130922.tar.bz2 | tar xvf - + cd parallel-20130922 ./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 b7a6ca22..d38e72d0 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.68 for parallel 20130822. +# Generated by GNU Autoconf 2.68 for parallel 20130922. # # Report bugs to . # @@ -559,8 +559,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='parallel' PACKAGE_TARNAME='parallel' -PACKAGE_VERSION='20130822' -PACKAGE_STRING='parallel 20130822' +PACKAGE_VERSION='20130922' +PACKAGE_STRING='parallel 20130922' PACKAGE_BUGREPORT='bug-parallel@gnu.org' PACKAGE_URL='' @@ -1176,7 +1176,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 20130822 to adapt to many kinds of systems. +\`configure' configures parallel 20130922 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1242,7 +1242,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of parallel 20130822:";; + short | recursive ) echo "Configuration of parallel 20130922:";; esac cat <<\_ACEOF @@ -1309,7 +1309,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -parallel configure 20130822 +parallel configure 20130922 generated by GNU Autoconf 2.68 Copyright (C) 2010 Free Software Foundation, Inc. @@ -1326,7 +1326,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 20130822, which was +It was created by parallel $as_me 20130922, which was generated by GNU Autoconf 2.68. Invocation command line was $ $0 $@ @@ -2141,7 +2141,7 @@ fi # Define the identity of the package. PACKAGE='parallel' - VERSION='20130822' + VERSION='20130922' cat >>confdefs.h <<_ACEOF @@ -2704,7 +2704,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 20130822, which was +This file was extended by parallel $as_me 20130922, which was generated by GNU Autoconf 2.68. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -2766,7 +2766,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 20130822 +parallel config.status 20130922 configured by $0, generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\" diff --git a/configure.ac b/configure.ac index 9bcc1c4f..16df0792 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([parallel], [20130822], [bug-parallel@gnu.org]) +AC_INIT([parallel], [20130922], [bug-parallel@gnu.org]) AM_INIT_AUTOMAKE([-Wall -Werror foreign]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_FILES([ diff --git a/doc/release_new_version b/doc/release_new_version index 1fd079de..0e596372 100644 --- a/doc/release_new_version +++ b/doc/release_new_version @@ -121,7 +121,7 @@ https://build.opensuse.org/package/show?package=parallel&project=home%3Atange YYYYMMDD=`yyyymmdd` pushd /tmp rm -rf parallel-${YYYYMMDD}* -wget http://ftp.gnu.org/gnu/parallel/parallel-$YYYYMMDD.tar.bz2 +while ! wget http://ftp.gnu.org/gnu/parallel/parallel-$YYYYMMDD.tar.bz2 ; do sleep 2; done #wget http://alpha.gnu.org/gnu/parallel/parallel-$YYYYMMDD.tar.bz2 tar xjvf parallel-$YYYYMMDD.tar.bz2 cd parallel-$YYYYMMDD @@ -252,7 +252,7 @@ You can find more about GNU Parallel at: http://www.gnu.org/s/parallel/ You can install GNU Parallel in just 10 seconds with: -wget -O - pi.dk/3 | sh +(wget -O - pi.dk/3 || curl pi.dk/3/) | bash Watch the intro video on http://www.youtube.com/playlist?list=PL284C9FF2488BC6D1 diff --git a/packager/obs/home:tange/parallel/parallel.spec b/packager/obs/home:tange/parallel/parallel.spec index 9b0d558c..1dd5fc2b 100644 --- a/packager/obs/home:tange/parallel/parallel.spec +++ b/packager/obs/home:tange/parallel/parallel.spec @@ -1,6 +1,6 @@ Summary: Shell tool for executing jobs in parallel Name: parallel -Version: 20130822 +Version: 20130922 Release: 1 License: GPL Group: Productivity/File utilities @@ -78,7 +78,7 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root,-) /usr/bin/* /usr/share/man/man1/* -%doc README NEWS src/parallel.html src/parallel_tutorial.html src/sem.html src/sql.html src/niceload.html +%doc README NEWS src/parallel.html src/parallel_tutorial.html src/sem.html src/sql.html src/niceload.html src/parallel.texi src/parallel_tutorial.texi src/niceload.texi src/sem.texi src/sql.texi src/parallel.pdf src/parallel_tutorial.pdf src/niceload.pdf src/sem.pdf src/sql.pdf %changelog * Sat Jan 22 2011 Ole Tange diff --git a/src/niceload b/src/niceload index 77d9aa35..13f83191 100755 --- a/src/niceload +++ b/src/niceload @@ -24,7 +24,7 @@ use strict; use Getopt::Long; $Global::progname="niceload"; -$Global::version = 20130822; +$Global::version = 20130922; Getopt::Long::Configure("bundling","require_order"); get_options_from_array(\@ARGV) || die_usage(); if($opt::version) { diff --git a/src/niceload.pdf b/src/niceload.pdf index 7119ec4d..1253734c 100644 Binary files a/src/niceload.pdf and b/src/niceload.pdf differ diff --git a/src/parallel b/src/parallel index 6802ff49..c715667e 100755 --- a/src/parallel +++ b/src/parallel @@ -790,7 +790,7 @@ sub get_options_from_array { sub parse_options { # Returns: N/A # Defaults: - $Global::version = 20130918; + $Global::version = 20130922; $Global::progname = 'parallel'; $Global::infinity = 2**31; $Global::debug = 0; diff --git a/src/parallel.pdf b/src/parallel.pdf index ac360e7e..1485433e 100644 Binary files a/src/parallel.pdf and b/src/parallel.pdf differ diff --git a/src/parallel_tutorial.1 b/src/parallel_tutorial.1 index 7bf969bf..fd3de0c3 100644 --- a/src/parallel_tutorial.1 +++ b/src/parallel_tutorial.1 @@ -124,7 +124,7 @@ .\" ======================================================================== .\" .IX Title "PARALLEL_TUTORIAL 1" -.TH PARALLEL_TUTORIAL 1 "2013-09-18" "20130822" "parallel" +.TH PARALLEL_TUTORIAL 1 "2013-09-18" "20130922" "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 300f793e..4fe6034d 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 f835fb62..139117a2 100644 Binary files a/src/sem.pdf and b/src/sem.pdf differ diff --git a/src/sql b/src/sql index 751b5b82..d408c835 100755 --- a/src/sql +++ b/src/sql @@ -556,7 +556,7 @@ $Global::Initfile && unlink $Global::Initfile; exit ($err); sub parse_options { - $Global::version = 20130822; + $Global::version = 20130922; $Global::progname = 'sql'; # This must be done first as this may exec myself diff --git a/src/sql.pdf b/src/sql.pdf index 740dc8ce..a71010f5 100644 Binary files a/src/sql.pdf and b/src/sql.pdf differ diff --git a/testsuite/tests-to-run/parallel-local-ssh1.sh b/testsuite/tests-to-run/parallel-local-ssh1.sh index f77b4338..67aeba14 100644 --- a/testsuite/tests-to-run/parallel-local-ssh1.sh +++ b/testsuite/tests-to-run/parallel-local-ssh1.sh @@ -5,9 +5,9 @@ echo '### Test bug #34241: --pipe should not spawn unneeded processes' seq 5 | ssh csh@lo parallel -k --block 5 --pipe -j10 cat\\\;echo Block_end echo '### --env _' - fUbAr="OK FUBAR" parallel -S csh@lo --env _ echo '$fUbAr $PATH' ::: test -echo '### --env _ with explicit mentioning of normally ignored var $PATH' - fUbAr="OK FUBAR" parallel -S csh@lo --env PATH,_ echo '$fUbAr $PATH' ::: test + fUbAr="OK FUBAR" parallel -S csh@lo --env _ echo '$fUbAr $DISPLAY' ::: test +echo '### --env _ with explicit mentioning of normally ignored var $DISPLAY' + fUbAr="OK FUBAR" parallel -S csh@lo --env DISPLAY,_ echo '$fUbAr $DISPLAY' ::: test echo '### --filter-hosts --slf <()' parallel --nonall --filter-hosts --slf <(echo localhost) echo OK diff --git a/testsuite/wanted-results/parallel-local-ssh1 b/testsuite/wanted-results/parallel-local-ssh1 index 5278c302..31a695c9 100644 --- a/testsuite/wanted-results/parallel-local-ssh1 +++ b/testsuite/wanted-results/parallel-local-ssh1 @@ -7,8 +7,8 @@ Block_end 5 Block_end ### --env _ -OK FUBAR /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games test -### --env _ with explicit mentioning of normally ignored var $PATH -OK FUBAR /home/tange/bin:/home/tange/bin:/home/tange/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/sbin:/usr/sbin:/home/tange/terminals/data-import:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin:/home/tange/bin:/sbin:/usr/sbin:/home/tange/terminals/data-import:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin:/home/tange/bin test +DISPLAY: Undefined variable. +### --env _ with explicit mentioning of normally ignored var $DISPLAY +OK FUBAR :0 test ### --filter-hosts --slf <() OK diff --git a/testsuite/wanted-results/test13 b/testsuite/wanted-results/test13 index 7f57e00e..77991dc5 100644 --- a/testsuite/wanted-results/test13 +++ b/testsuite/wanted-results/test13 @@ -1,5 +1,5 @@ ### Test -k -parallel: Warning: Only enough file handles to run 18 jobs in parallel. +parallel: Warning: Only enough file handles to run 19 jobs in parallel. Raising ulimit -n or /etc/security/limits.conf may help. begin 1 @@ -17,9 +17,9 @@ begin 13 14 15 -parallel: Warning: No more file handles. Raising ulimit -n or /etc/security/limits.conf may help. 16 17 +parallel: Warning: No more file handles. Raising ulimit -n or /etc/security/limits.conf may help. 18 19 20