diff --git a/NEWS b/NEWS index 7246bf03..ca3f087d 100644 --- a/NEWS +++ b/NEWS @@ -4,10 +4,14 @@ New in this release: * -a file1 -a +file2 will link file2 to file1 similar to ::::+ +* --bar shows total time when all jobs are done. + * Bug fixes and man page updates. News about GNU Parallel: +* Using GNU Parallel in bash scripts to optimize python processes + https://climate-cms.org/posts/2023-11-02-gnu-parallel.html 20231022 diff --git a/README b/README index 464a39da..84cc19c8 100644 --- a/README +++ b/README @@ -57,11 +57,11 @@ document. Full installation of GNU Parallel is as simple as: - wget https://ftpmirror.gnu.org/parallel/parallel-20231022.tar.bz2 - wget https://ftpmirror.gnu.org/parallel/parallel-20231022.tar.bz2.sig - gpg parallel-20231022.tar.bz2.sig - bzip2 -dc parallel-20231022.tar.bz2 | tar xvf - - cd parallel-20231022 + wget https://ftpmirror.gnu.org/parallel/parallel-20231122.tar.bz2 + wget https://ftpmirror.gnu.org/parallel/parallel-20231122.tar.bz2.sig + gpg parallel-20231122.tar.bz2.sig + bzip2 -dc parallel-20231122.tar.bz2 | tar xvf - + cd parallel-20231122 ./configure && make && sudo make install @@ -70,11 +70,11 @@ 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 https://ftpmirror.gnu.org/parallel/parallel-20231022.tar.bz2 - wget https://ftpmirror.gnu.org/parallel/parallel-20231022.tar.bz2.sig - gpg parallel-20231022.tar.bz2.sig - bzip2 -dc parallel-20231022.tar.bz2 | tar xvf - - cd parallel-20231022 + wget https://ftpmirror.gnu.org/parallel/parallel-20231122.tar.bz2 + wget https://ftpmirror.gnu.org/parallel/parallel-20231122.tar.bz2.sig + gpg parallel-20231122.tar.bz2.sig + bzip2 -dc parallel-20231122.tar.bz2 | tar xvf - + cd parallel-20231122 ./configure --prefix=$HOME && make && make install Or if your system lacks 'make' you can simply copy src/parallel @@ -122,8 +122,8 @@ will love you for it. When using programs that use GNU Parallel to process data for publication please cite: - Tange, O. (2023, October 22). GNU Parallel 20231022 ('Al-Aqsa Deluge'). - Zenodo. https://doi.org/10.5281/zenodo.10035562 + Tange, O. (2023, November 22). GNU Parallel 20231122 ('Grindavík'). + Zenodo. https://doi.org/10.5281/zenodo.10199085 Copyright (C) 2007-2022 Ole Tange, http://ole.tange.dk and Free Software Foundation, Inc. diff --git a/configure b/configure index 57bfe80b..427b788f 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.71 for parallel 20231022. +# Generated by GNU Autoconf 2.71 for parallel 20231122. # # Report bugs to . # @@ -610,8 +610,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='parallel' PACKAGE_TARNAME='parallel' -PACKAGE_VERSION='20231022' -PACKAGE_STRING='parallel 20231022' +PACKAGE_VERSION='20231122' +PACKAGE_STRING='parallel 20231122' PACKAGE_BUGREPORT='bug-parallel@gnu.org' PACKAGE_URL='' @@ -1246,7 +1246,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 20231022 to adapt to many kinds of systems. +\`configure' configures parallel 20231122 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1313,7 +1313,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of parallel 20231022:";; + short | recursive ) echo "Configuration of parallel 20231122:";; esac cat <<\_ACEOF @@ -1390,7 +1390,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -parallel configure 20231022 +parallel configure 20231122 generated by GNU Autoconf 2.71 Copyright (C) 2021 Free Software Foundation, Inc. @@ -1427,7 +1427,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 20231022, which was +It was created by parallel $as_me 20231122, which was generated by GNU Autoconf 2.71. Invocation command line was $ $0$ac_configure_args_raw @@ -2379,7 +2379,7 @@ fi # Define the identity of the package. PACKAGE='parallel' - VERSION='20231022' + VERSION='20231122' printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h @@ -3026,7 +3026,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 20231022, which was +This file was extended by parallel $as_me 20231122, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -3090,7 +3090,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -parallel config.status 20231022 +parallel config.status 20231122 configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" diff --git a/configure.ac b/configure.ac index 184620c0..fb358323 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([parallel],[20231022],[bug-parallel@gnu.org]) +AC_INIT([parallel],[20231122],[bug-parallel@gnu.org]) AM_INIT_AUTOMAKE([-Wall -Werror foreign]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_FILES([ diff --git a/doc/haikus b/doc/haikus index 4eee4dbd..6ddcc77a 100644 --- a/doc/haikus +++ b/doc/haikus @@ -15,8 +15,6 @@ Output is in sync write a haiku about gnu parallel and the :::+ option - Got around to using GNU parallel for the first time from a suggestion by @jdwasmuth ... now I'm wishing I started using this years ago - -- Stefan Gavriliuc @GavriliucStefan@twitter I’m a big fan of GNU parallel! -- Scott Cain @scottjcain@twitter @@ -215,6 +213,9 @@ https://negfeedback.blogspot.com/2020/05/indispensable-command-line-tools.html === Used === + Got around to using GNU parallel for the first time from a suggestion by @jdwasmuth ... now I'm wishing I started using this years ago + -- Stefan Gavriliuc @GavriliucStefan@twitter + Love to make a dual processor workstation absolutely whir running dozens of analysis scripts at once -- Best Catboy Key Grip @alamogordoglass@twitter diff --git a/doc/release_new_version b/doc/release_new_version index baecae67..2ce23368 100644 --- a/doc/release_new_version +++ b/doc/release_new_version @@ -280,17 +280,21 @@ GNU Parallel 20231122 ('<<>>') has been released. It is available for download a Quote of the month: -<<>> + Got around to using GNU parallel for the first time from a suggestion by @jdwasmuth ... now I'm wishing I started using this years ago + -- Stefan Gavriliuc @GavriliucStefan@twitter New in this release: * -a file1 -a +file2 will link file2 to file1 similar to ::::+ +* --bar shows total time when all jobs are done. + * Bug fixes and man page updates. News about GNU Parallel: -<<>> +* Using GNU Parallel in bash scripts to optimize python processes + https://climate-cms.org/posts/2023-11-02-gnu-parallel.html GNU Parallel - For people who live life in the parallel lane. diff --git a/packager/obs/home-tange/parallel/.osc/_files b/packager/obs/home-tange/parallel/.osc/_files index 8219392e..531b6386 100644 --- a/packager/obs/home-tange/parallel/.osc/_files +++ b/packager/obs/home-tange/parallel/.osc/_files @@ -1,8 +1,8 @@ - + - - - - - + + + + + diff --git a/packager/obs/home-tange/parallel/.osc/parallel.spec b/packager/obs/home-tange/parallel/.osc/parallel.spec index 997ae567..80b3e487 100644 --- a/packager/obs/home-tange/parallel/.osc/parallel.spec +++ b/packager/obs/home-tange/parallel/.osc/parallel.spec @@ -1,7 +1,7 @@ Summary: Shell tool for executing jobs in parallel Name: parallel -Version: 20231022 +Version: 20231122 Release: 2.1 License: GPL-3.0-or-later Group: Productivity/File utilities diff --git a/src/env_parallel.ash b/src/env_parallel.ash index 61d5718d..47faf062 100755 --- a/src/env_parallel.ash +++ b/src/env_parallel.ash @@ -393,7 +393,7 @@ _parset_main() { fi if [ "$_parset_NAME" = "--version" ] ; then # shellcheck disable=SC2006 - echo "parset 20231022 (GNU parallel `parallel --minversion 1`)" + echo "parset 20231122 (GNU parallel `parallel --minversion 1`)" echo "Copyright (C) 2007-2023 Ole Tange, http://ole.tange.dk and Free Software" echo "Foundation, Inc." echo "License GPLv3+: GNU GPL version 3 or later " diff --git a/src/env_parallel.bash b/src/env_parallel.bash index 28f10d61..8f69f993 100755 --- a/src/env_parallel.bash +++ b/src/env_parallel.bash @@ -395,7 +395,7 @@ _parset_main() { fi if [ "$_parset_NAME" = "--version" ] ; then # shellcheck disable=SC2006 - echo "parset 20231022 (GNU parallel `parallel --minversion 1`)" + echo "parset 20231122 (GNU parallel `parallel --minversion 1`)" echo "Copyright (C) 2007-2023 Ole Tange, http://ole.tange.dk and Free Software" echo "Foundation, Inc." echo "License GPLv3+: GNU GPL version 3 or later " diff --git a/src/env_parallel.dash b/src/env_parallel.dash index b51de2df..599bdb8e 100755 --- a/src/env_parallel.dash +++ b/src/env_parallel.dash @@ -393,7 +393,7 @@ _parset_main() { fi if [ "$_parset_NAME" = "--version" ] ; then # shellcheck disable=SC2006 - echo "parset 20231022 (GNU parallel `parallel --minversion 1`)" + echo "parset 20231122 (GNU parallel `parallel --minversion 1`)" echo "Copyright (C) 2007-2023 Ole Tange, http://ole.tange.dk and Free Software" echo "Foundation, Inc." echo "License GPLv3+: GNU GPL version 3 or later " diff --git a/src/env_parallel.ksh b/src/env_parallel.ksh index f1707131..cd56c55f 100755 --- a/src/env_parallel.ksh +++ b/src/env_parallel.ksh @@ -376,7 +376,7 @@ _parset_main() { fi if [ "$_parset_NAME" = "--version" ] ; then # shellcheck disable=SC2006 - echo "parset 20231022 (GNU parallel `parallel --minversion 1`)" + echo "parset 20231122 (GNU parallel `parallel --minversion 1`)" echo "Copyright (C) 2007-2023 Ole Tange, http://ole.tange.dk and Free Software" echo "Foundation, Inc." echo "License GPLv3+: GNU GPL version 3 or later " diff --git a/src/env_parallel.mksh b/src/env_parallel.mksh index 44eca495..5457697d 100644 --- a/src/env_parallel.mksh +++ b/src/env_parallel.mksh @@ -378,7 +378,7 @@ _parset_main() { fi if [ "$_parset_NAME" = "--version" ] ; then # shellcheck disable=SC2006 - echo "parset 20231022 (GNU parallel `parallel --minversion 1`)" + echo "parset 20231122 (GNU parallel `parallel --minversion 1`)" echo "Copyright (C) 2007-2023 Ole Tange, http://ole.tange.dk and Free Software" echo "Foundation, Inc." echo "License GPLv3+: GNU GPL version 3 or later " diff --git a/src/env_parallel.sh b/src/env_parallel.sh index 5ce32528..b9dbc88d 100755 --- a/src/env_parallel.sh +++ b/src/env_parallel.sh @@ -393,7 +393,7 @@ _parset_main() { fi if [ "$_parset_NAME" = "--version" ] ; then # shellcheck disable=SC2006 - echo "parset 20231022 (GNU parallel `parallel --minversion 1`)" + echo "parset 20231122 (GNU parallel `parallel --minversion 1`)" echo "Copyright (C) 2007-2023 Ole Tange, http://ole.tange.dk and Free Software" echo "Foundation, Inc." echo "License GPLv3+: GNU GPL version 3 or later " diff --git a/src/env_parallel.zsh b/src/env_parallel.zsh index 509b7cbb..0385f611 100755 --- a/src/env_parallel.zsh +++ b/src/env_parallel.zsh @@ -368,7 +368,7 @@ _parset_main() { fi if [ "$_parset_NAME" = "--version" ] ; then # shellcheck disable=SC2006 - echo "parset 20231022 (GNU parallel `parallel --minversion 1`)" + echo "parset 20231122 (GNU parallel `parallel --minversion 1`)" echo "Copyright (C) 2007-2023 Ole Tange, http://ole.tange.dk and Free Software" echo "Foundation, Inc." echo "License GPLv3+: GNU GPL version 3 or later " diff --git a/src/niceload b/src/niceload index 7662444e..716e46f5 100755 --- a/src/niceload +++ b/src/niceload @@ -26,7 +26,7 @@ use strict; use Getopt::Long; $Global::progname="niceload"; -$Global::version = 20231022; +$Global::version = 20231122; 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 1d328b08..e7d3d8a0 100755 --- a/src/parallel +++ b/src/parallel @@ -2798,7 +2798,7 @@ sub check_invalid_option_combinations() { sub init_globals() { # Defaults: - $Global::version = 20231022; + $Global::version = 20231122; $Global::progname = 'parallel'; $::name = "GNU Parallel"; $Global::infinity = 2**31; @@ -5821,8 +5821,8 @@ sub usage() { "If you use programs that use GNU Parallel to process data for an article in a", "scientific publication, please cite:", "", - " Tange, O. (2023, October 22). GNU Parallel 20231022 ('Al-Aqsa Deluge').", - " Zenodo. https://doi.org/10.5281/zenodo.10035562", + " Tange, O. (2023, November 22). GNU Parallel 20231122 ('Grindavík').", + " Zenodo. https://doi.org/10.5281/zenodo.10199085", "", # Before changing these lines, please read # https://www.gnu.org/software/parallel/parallel_design.html#citation-notice @@ -5854,8 +5854,8 @@ sub citation_notice() { "If you use programs that use GNU Parallel to process data for an article in a", "scientific publication, please cite:", "", - " Tange, O. (2023, October 22). GNU Parallel 20231022 ('Al-Aqsa Deluge').", - " Zenodo. https://doi.org/10.5281/zenodo.10035562", + " Tange, O. (2023, November 22). GNU Parallel 20231122 ('Grindavík').", + " Zenodo. https://doi.org/10.5281/zenodo.10199085", "", # Before changing these line, please read # https://www.gnu.org/software/parallel/parallel_design.html#citation-notice and @@ -5982,20 +5982,20 @@ sub citation() { "If you use programs that use GNU Parallel to process data for an article in a", "scientific publication, please cite:", "", - "\@software{tange_2023_10035562,", + "\@software{tange_2023_10199085,", " author = {Tange, Ole},", - " title = {GNU Parallel 20231022 ('Al-Aqsa Deluge')},", - " month = Oct,", + " title = {GNU Parallel 20231122 ('Grindavík')},", + " month = Nov,", " year = 2023,", " note = {{GNU Parallel is a general parallelizer to run", " multiple serial command line programs in parallel", " without changing them.}},", " publisher = {Zenodo},", - " doi = {10.5281/zenodo.10035562},", - " url = {https://doi.org/10.5281/zenodo.10035562}", + " doi = {10.5281/zenodo.10199085},", + " url = {https://doi.org/10.5281/zenodo.10199085}", "}", "", - "(Feel free to use \\nocite{tange_2023_10035562})", + "(Feel free to use \\nocite{tange_2023_10199085})", "", # Before changing these lines, please read # https://www.gnu.org/software/parallel/parallel_design.html#citation-notice and diff --git a/src/parsort b/src/parsort index 21334794..b4cf7e92 100755 --- a/src/parsort +++ b/src/parsort @@ -137,7 +137,7 @@ GetOptions( "help" => \$opt::dummy, ) || exit(255); $Global::progname = ($0 =~ m:(^|/)([^/]+)$:)[1]; -$Global::version = 20231022; +$Global::version = 20231122; if($opt::version) { version(); exit 0; } # Remove -D and --parallel=N my @s = (grep { ! /^-D$|^--parallel=\S+$/ } diff --git a/src/sql b/src/sql index 6d61d3d2..f429963f 100755 --- a/src/sql +++ b/src/sql @@ -670,7 +670,7 @@ $Global::Initfile && unlink $Global::Initfile; exit ($err); sub parse_options { - $Global::version = 20231022; + $Global::version = 20231122; $Global::progname = 'sql'; # This must be done first as this may exec myself