Released as 20221222 ('ChatGPT')

This commit is contained in:
Ole Tange 2022-12-20 23:40:23 +01:00
parent f07696cc00
commit 1022008c35
19 changed files with 55 additions and 56 deletions

View file

@ -176,7 +176,7 @@ bashcompletion=${bashcompletiondir}/parallel
zshcompletion=${zshcompletiondir}/_parallel zshcompletion=${zshcompletiondir}/_parallel
install-data-hook: install-data-hook:
mkdir -p ${zshcompletiondir} ${bashcompletiondir} mkdir -p ${zshcompletiondir} ${bashcompletiondir}
$(bindir)/parallel --shell-completion bash > ${bashcompletion} $(DESTDIR)$(bindir)/parallel --shell-completion bash > ${bashcompletion}
# Make zsh eval the --shell-completion code dynamically so if # Make zsh eval the --shell-completion code dynamically so if
# a newer version of GNU Parallel is installed by a normal # a newer version of GNU Parallel is installed by a normal
# user, this newer version will generate the # user, this newer version will generate the

View file

@ -937,7 +937,7 @@ pack_unpack_and_test_build:
./configure && make -j && sudo make -j install ./configure && make -j && sudo make -j install
install-data-hook: install-data-hook:
mkdir -p ${zshcompletiondir} ${bashcompletiondir} mkdir -p ${zshcompletiondir} ${bashcompletiondir}
$(bindir)/parallel --shell-completion bash > ${bashcompletion} $(DESTDIR)$(bindir)/parallel --shell-completion bash > ${bashcompletion}
# Make zsh eval the --shell-completion code dynamically so if # Make zsh eval the --shell-completion code dynamically so if
# a newer version of GNU Parallel is installed by a normal # a newer version of GNU Parallel is installed by a normal
# user, this newer version will generate the # user, this newer version will generate the

24
README
View file

@ -57,11 +57,11 @@ document.
Full installation of GNU Parallel is as simple as: Full installation of GNU Parallel is as simple as:
wget https://ftpmirror.gnu.org/parallel/parallel-20221122.tar.bz2 wget https://ftpmirror.gnu.org/parallel/parallel-20221222.tar.bz2
wget https://ftpmirror.gnu.org/parallel/parallel-20221122.tar.bz2.sig wget https://ftpmirror.gnu.org/parallel/parallel-20221222.tar.bz2.sig
gpg parallel-20221122.tar.bz2.sig gpg parallel-20221222.tar.bz2.sig
bzip2 -dc parallel-20221122.tar.bz2 | tar xvf - bzip2 -dc parallel-20221222.tar.bz2 | tar xvf -
cd parallel-20221122 cd parallel-20221222
./configure && make && sudo make install ./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 If you are not root you can add ~/bin to your path and install in
~/bin and ~/share: ~/bin and ~/share:
wget https://ftpmirror.gnu.org/parallel/parallel-20221122.tar.bz2 wget https://ftpmirror.gnu.org/parallel/parallel-20221222.tar.bz2
wget https://ftpmirror.gnu.org/parallel/parallel-20221122.tar.bz2.sig wget https://ftpmirror.gnu.org/parallel/parallel-20221222.tar.bz2.sig
gpg parallel-20221122.tar.bz2.sig gpg parallel-20221222.tar.bz2.sig
bzip2 -dc parallel-20221122.tar.bz2 | tar xvf - bzip2 -dc parallel-20221222.tar.bz2 | tar xvf -
cd parallel-20221122 cd parallel-20221222
./configure --prefix=$HOME && make && make install ./configure --prefix=$HOME && make && make install
Or if your system lacks 'make' you can simply copy src/parallel 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 When using programs that use GNU Parallel to process data for
publication please cite: publication please cite:
Tange, O. (2022, November 22). GNU Parallel 20221122 ('Херсо́н'). Tange, O. (2022, December 22). GNU Parallel 20221222 ('ChatGPT').
Zenodo. https://doi.org/10.5281/zenodo.7347980 Zenodo. https://doi.org/10.5281/zenodo.7465517
Copyright (C) 2007-2022 Ole Tange, http://ole.tange.dk and Free Copyright (C) 2007-2022 Ole Tange, http://ole.tange.dk and Free
Software Foundation, Inc. Software Foundation, Inc.

20
configure vendored
View file

@ -1,6 +1,6 @@
#! /bin/sh #! /bin/sh
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.71 for parallel 20221122. # Generated by GNU Autoconf 2.71 for parallel 20221222.
# #
# Report bugs to <bug-parallel@gnu.org>. # Report bugs to <bug-parallel@gnu.org>.
# #
@ -610,8 +610,8 @@ MAKEFLAGS=
# Identity of this package. # Identity of this package.
PACKAGE_NAME='parallel' PACKAGE_NAME='parallel'
PACKAGE_TARNAME='parallel' PACKAGE_TARNAME='parallel'
PACKAGE_VERSION='20221122' PACKAGE_VERSION='20221222'
PACKAGE_STRING='parallel 20221122' PACKAGE_STRING='parallel 20221222'
PACKAGE_BUGREPORT='bug-parallel@gnu.org' PACKAGE_BUGREPORT='bug-parallel@gnu.org'
PACKAGE_URL='' 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. # 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. # This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF cat <<_ACEOF
\`configure' configures parallel 20221122 to adapt to many kinds of systems. \`configure' configures parallel 20221222 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]... Usage: $0 [OPTION]... [VAR=VALUE]...
@ -1313,7 +1313,7 @@ fi
if test -n "$ac_init_help"; then if test -n "$ac_init_help"; then
case $ac_init_help in case $ac_init_help in
short | recursive ) echo "Configuration of parallel 20221122:";; short | recursive ) echo "Configuration of parallel 20221222:";;
esac esac
cat <<\_ACEOF cat <<\_ACEOF
@ -1390,7 +1390,7 @@ fi
test -n "$ac_init_help" && exit $ac_status test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then if $ac_init_version; then
cat <<\_ACEOF cat <<\_ACEOF
parallel configure 20221122 parallel configure 20221222
generated by GNU Autoconf 2.71 generated by GNU Autoconf 2.71
Copyright (C) 2021 Free Software Foundation, Inc. Copyright (C) 2021 Free Software Foundation, Inc.
@ -1427,7 +1427,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake. running configure, to aid debugging if configure makes a mistake.
It was created by parallel $as_me 20221122, which was It was created by parallel $as_me 20221222, which was
generated by GNU Autoconf 2.71. Invocation command line was generated by GNU Autoconf 2.71. Invocation command line was
$ $0$ac_configure_args_raw $ $0$ac_configure_args_raw
@ -2379,7 +2379,7 @@ fi
# Define the identity of the package. # Define the identity of the package.
PACKAGE='parallel' PACKAGE='parallel'
VERSION='20221122' VERSION='20221222'
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h 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 # report actual input values of CONFIG_FILES etc. instead of their
# values after options handling. # values after options handling.
ac_log=" ac_log="
This file was extended by parallel $as_me 20221122, which was This file was extended by parallel $as_me 20221222, which was
generated by GNU Autoconf 2.71. Invocation command line was generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES = $CONFIG_FILES 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 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped' ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\ ac_cs_version="\\
parallel config.status 20221122 parallel config.status 20221222
configured by $0, generated by GNU Autoconf 2.71, configured by $0, generated by GNU Autoconf 2.71,
with options \\"\$ac_cs_config\\" with options \\"\$ac_cs_config\\"

View file

@ -1,4 +1,4 @@
AC_INIT([parallel],[20221122],[bug-parallel@gnu.org]) AC_INIT([parallel],[20221222],[bug-parallel@gnu.org])
AM_INIT_AUTOMAKE([-Wall -Werror foreign]) AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AC_CONFIG_HEADERS([config.h]) AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([ AC_CONFIG_FILES([

View file

@ -1,9 +1,7 @@
<directory name="parallel" rev="353" vrev="2" srcmd5="057a36e37939bfca0c9d9d5f74841ab9"> <directory name="parallel" rev="355" vrev="3" srcmd5="0fa2c67bdd05fac3b84a0face23020d8">
<entry name="PKGBUILD" md5="0dbd44569d0c8a8b6558b7820b843d01" size="1244" mtime="1669140752" /> <entry name="PKGBUILD" md5="71b20e72b1d68dd34c9f747930bd98c3" size="1246" mtime="1671579345" />
<entry name="parallel-20221022.tar.bz2" md5="fa2081ee9e85fa3170081316a3b4ad48" size="2409471" mtime="1666458602" /> <entry name="parallel-20221222.tar.bz2" md5="5d46e8cfab22a336d31ae3d688998ef9" size="2417694" mtime="1671579345" />
<entry name="parallel-20221122.tar.bz2" md5="f5e50aab8fd6407d3e7680e0af514c1a" size="2415504" mtime="1669140752" /> <entry name="parallel.spec" md5="6f96e1fc657a830d35433e893817dedd" size="6224" mtime="1671576110" />
<entry name="parallel.spec" md5="7823cba794beabcac195db1195e23c22" size="6224" mtime="1669140753" /> <entry name="parallel_20221222.dsc" md5="13d9a0f6a7eec95777ecc616f7384f68" size="556" mtime="1671579345" />
<entry name="parallel_20221022.tar.gz" md5="e0c5ef89374787b30f23f601814973cb" size="2670976" mtime="1666457283" /> <entry name="parallel_20221222.tar.gz" md5="8bb6f0868b3a288a1ea569723bde94ce" size="2680812" mtime="1671579346" />
<entry name="parallel_20221122.dsc" md5="28d8f67882e59ae87b2139d2b7f8a958" size="556" mtime="1669140753" />
<entry name="parallel_20221122.tar.gz" md5="e06c172589a940b1a87f1299632a04c2" size="2678617" mtime="1669140753" />
</directory> </directory>

View file

@ -1,7 +1,7 @@
Summary: Shell tool for executing jobs in parallel Summary: Shell tool for executing jobs in parallel
Name: parallel Name: parallel
Version: 20221122 Version: 20221222
Release: 2.1 Release: 2.1
License: GPL-3.0-or-later License: GPL-3.0-or-later
Group: Productivity/File utilities Group: Productivity/File utilities

View file

@ -393,7 +393,7 @@ _parset_main() {
fi fi
if [ "$_parset_NAME" = "--version" ] ; then if [ "$_parset_NAME" = "--version" ] ; then
# shellcheck disable=SC2006 # shellcheck disable=SC2006
echo "parset 20221122 (GNU parallel `parallel --minversion 1`)" echo "parset 20221222 (GNU parallel `parallel --minversion 1`)"
echo "Copyright (C) 2007-2022 Ole Tange, http://ole.tange.dk and Free Software" echo "Copyright (C) 2007-2022 Ole Tange, http://ole.tange.dk and Free Software"
echo "Foundation, Inc." echo "Foundation, Inc."
echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>" echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>"

View file

@ -395,7 +395,7 @@ _parset_main() {
fi fi
if [ "$_parset_NAME" = "--version" ] ; then if [ "$_parset_NAME" = "--version" ] ; then
# shellcheck disable=SC2006 # shellcheck disable=SC2006
echo "parset 20221122 (GNU parallel `parallel --minversion 1`)" echo "parset 20221222 (GNU parallel `parallel --minversion 1`)"
echo "Copyright (C) 2007-2022 Ole Tange, http://ole.tange.dk and Free Software" echo "Copyright (C) 2007-2022 Ole Tange, http://ole.tange.dk and Free Software"
echo "Foundation, Inc." echo "Foundation, Inc."
echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>" echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>"

View file

@ -393,7 +393,7 @@ _parset_main() {
fi fi
if [ "$_parset_NAME" = "--version" ] ; then if [ "$_parset_NAME" = "--version" ] ; then
# shellcheck disable=SC2006 # shellcheck disable=SC2006
echo "parset 20221122 (GNU parallel `parallel --minversion 1`)" echo "parset 20221222 (GNU parallel `parallel --minversion 1`)"
echo "Copyright (C) 2007-2022 Ole Tange, http://ole.tange.dk and Free Software" echo "Copyright (C) 2007-2022 Ole Tange, http://ole.tange.dk and Free Software"
echo "Foundation, Inc." echo "Foundation, Inc."
echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>" echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>"

View file

@ -376,7 +376,7 @@ _parset_main() {
fi fi
if [ "$_parset_NAME" = "--version" ] ; then if [ "$_parset_NAME" = "--version" ] ; then
# shellcheck disable=SC2006 # shellcheck disable=SC2006
echo "parset 20221122 (GNU parallel `parallel --minversion 1`)" echo "parset 20221222 (GNU parallel `parallel --minversion 1`)"
echo "Copyright (C) 2007-2022 Ole Tange, http://ole.tange.dk and Free Software" echo "Copyright (C) 2007-2022 Ole Tange, http://ole.tange.dk and Free Software"
echo "Foundation, Inc." echo "Foundation, Inc."
echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>" echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>"

View file

@ -378,7 +378,7 @@ _parset_main() {
fi fi
if [ "$_parset_NAME" = "--version" ] ; then if [ "$_parset_NAME" = "--version" ] ; then
# shellcheck disable=SC2006 # shellcheck disable=SC2006
echo "parset 20221122 (GNU parallel `parallel --minversion 1`)" echo "parset 20221222 (GNU parallel `parallel --minversion 1`)"
echo "Copyright (C) 2007-2022 Ole Tange, http://ole.tange.dk and Free Software" echo "Copyright (C) 2007-2022 Ole Tange, http://ole.tange.dk and Free Software"
echo "Foundation, Inc." echo "Foundation, Inc."
echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>" echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>"

View file

@ -393,7 +393,7 @@ _parset_main() {
fi fi
if [ "$_parset_NAME" = "--version" ] ; then if [ "$_parset_NAME" = "--version" ] ; then
# shellcheck disable=SC2006 # shellcheck disable=SC2006
echo "parset 20221122 (GNU parallel `parallel --minversion 1`)" echo "parset 20221222 (GNU parallel `parallel --minversion 1`)"
echo "Copyright (C) 2007-2022 Ole Tange, http://ole.tange.dk and Free Software" echo "Copyright (C) 2007-2022 Ole Tange, http://ole.tange.dk and Free Software"
echo "Foundation, Inc." echo "Foundation, Inc."
echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>" echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>"

View file

@ -368,7 +368,7 @@ _parset_main() {
fi fi
if [ "$_parset_NAME" = "--version" ] ; then if [ "$_parset_NAME" = "--version" ] ; then
# shellcheck disable=SC2006 # shellcheck disable=SC2006
echo "parset 20221122 (GNU parallel `parallel --minversion 1`)" echo "parset 20221222 (GNU parallel `parallel --minversion 1`)"
echo "Copyright (C) 2007-2022 Ole Tange, http://ole.tange.dk and Free Software" echo "Copyright (C) 2007-2022 Ole Tange, http://ole.tange.dk and Free Software"
echo "Foundation, Inc." echo "Foundation, Inc."
echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>" echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>"

View file

@ -26,7 +26,7 @@
use strict; use strict;
use Getopt::Long; use Getopt::Long;
$Global::progname="niceload"; $Global::progname="niceload";
$Global::version = 20221122; $Global::version = 20221222;
Getopt::Long::Configure("bundling","require_order"); Getopt::Long::Configure("bundling","require_order");
get_options_from_array(\@ARGV) || die_usage(); get_options_from_array(\@ARGV) || die_usage();
if($opt::version) { if($opt::version) {

View file

@ -2702,7 +2702,7 @@ sub check_invalid_option_combinations() {
sub init_globals() { sub init_globals() {
# Defaults: # Defaults:
$Global::version = 20221122; $Global::version = 20221222;
$Global::progname = 'parallel'; $Global::progname = 'parallel';
$::name = "GNU Parallel"; $::name = "GNU Parallel";
$Global::infinity = 2**31; $Global::infinity = 2**31;
@ -5623,8 +5623,8 @@ sub usage() {
"If you use programs that use GNU Parallel to process data for an article in a", "If you use programs that use GNU Parallel to process data for an article in a",
"scientific publication, please cite:", "scientific publication, please cite:",
"", "",
" Tange, O. (2022, November 22). GNU Parallel 20221122 ('Херсо́н').", " Tange, O. (2022, December 22). GNU Parallel 20221222 ('ChatGPT').",
" Zenodo. https://doi.org/10.5281/zenodo.7347980", " Zenodo. https://doi.org/10.5281/zenodo.7465517",
"", "",
# Before changing these lines, please read # Before changing these lines, please read
# https://www.gnu.org/software/parallel/parallel_design.html#citation-notice # https://www.gnu.org/software/parallel/parallel_design.html#citation-notice
@ -5656,8 +5656,8 @@ sub citation_notice() {
"If you use programs that use GNU Parallel to process data for an article in a", "If you use programs that use GNU Parallel to process data for an article in a",
"scientific publication, please cite:", "scientific publication, please cite:",
"", "",
" Tange, O. (2022, November 22). GNU Parallel 20221122 ('Херсо́н').", " Tange, O. (2022, December 22). GNU Parallel 20221222 ('ChatGPT').",
" Zenodo. https://doi.org/10.5281/zenodo.7347980", " Zenodo. https://doi.org/10.5281/zenodo.7465517",
"", "",
# Before changing these line, please read # Before changing these line, please read
# https://www.gnu.org/software/parallel/parallel_design.html#citation-notice and # https://www.gnu.org/software/parallel/parallel_design.html#citation-notice and
@ -5784,20 +5784,20 @@ sub citation() {
"If you use programs that use GNU Parallel to process data for an article in a", "If you use programs that use GNU Parallel to process data for an article in a",
"scientific publication, please cite:", "scientific publication, please cite:",
"", "",
"\@software{tange_2022_7347980,", "\@software{tange_2022_7465517,",
" author = {Tange, Ole},", " author = {Tange, Ole},",
" title = {GNU Parallel 20221122 ('Херсо́н')},", " title = {GNU Parallel 20221222 ('ChatGPT')},",
" month = Nov,", " month = Dec,",
" year = 2022,", " year = 2022,",
" note = {{GNU Parallel is a general parallelizer to run", " note = {{GNU Parallel is a general parallelizer to run",
" multiple serial command line programs in parallel", " multiple serial command line programs in parallel",
" without changing them.}},", " without changing them.}},",
" publisher = {Zenodo},", " publisher = {Zenodo},",
" doi = {10.5281/zenodo.7347980},", " doi = {10.5281/zenodo.7465517},",
" url = {https://doi.org/10.5281/zenodo.7347980}", " url = {https://doi.org/10.5281/zenodo.7465517}",
"}", "}",
"", "",
"(Feel free to use \\nocite{tange_2022_7347980})", "(Feel free to use \\nocite{tange_2022_7465517})",
"", "",
# Before changing these lines, please read # Before changing these lines, please read
# https://www.gnu.org/software/parallel/parallel_design.html#citation-notice and # https://www.gnu.org/software/parallel/parallel_design.html#citation-notice and

View file

@ -122,7 +122,7 @@ GetOptions(
"help" => \$opt::dummy, "help" => \$opt::dummy,
) || exit(255); ) || exit(255);
$Global::progname = ($0 =~ m:(^|/)([^/]+)$:)[1]; $Global::progname = ($0 =~ m:(^|/)([^/]+)$:)[1];
$Global::version = 20221122; $Global::version = 20221222;
if($opt::version) { version(); exit 0; } if($opt::version) { version(); exit 0; }
@Global::sortoptions = grep { ! /^-D$/ } @Global::sortoptions = grep { ! /^-D$/ }
shell_quote(@ARGV_before[0..($#ARGV_before-$#ARGV-1)]); shell_quote(@ARGV_before[0..($#ARGV_before-$#ARGV-1)]);

View file

@ -667,7 +667,7 @@ $Global::Initfile && unlink $Global::Initfile;
exit ($err); exit ($err);
sub parse_options { sub parse_options {
$Global::version = 20221122; $Global::version = 20221222;
$Global::progname = 'sql'; $Global::progname = 'sql';
# This must be done first as this may exec myself # This must be done first as this may exec myself

View file

@ -692,6 +692,7 @@ This is input_file
parallel -S $SERVER1 --trc {}.out cat {} ">"{}.out ::: input_file parallel -S $SERVER1 --trc {}.out cat {} ">"{}.out ::: input_file
cat input_file.out cat input_file.out
This is input_file This is input_file
rsync: [sender] link_stat "/home/parallel/input_file.out" failed: No such file or directory (2)
echo common data > common_file echo common data > common_file
parallel --basefile common_file -S $SERVER1 \ parallel --basefile common_file -S $SERVER1 \
cat common_file\; echo {} ::: foo cat common_file\; echo {} ::: foo
@ -1330,4 +1331,4 @@ mentioned in the release notes of next version of GNU Parallel.
echo A echo A
echo B echo B
echo C echo C
9 8