mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-22 05:57:54 +00:00
Released as 20220722 ('Roe vs Wade')
This commit is contained in:
parent
f485a24df3
commit
9a96fb0103
15
NEWS
15
NEWS
|
@ -1,3 +1,18 @@
|
||||||
|
20220722
|
||||||
|
|
||||||
|
New in this release:
|
||||||
|
|
||||||
|
* --colour-failed will color output red if the job fails.
|
||||||
|
|
||||||
|
* sql: support for InfluxDB.
|
||||||
|
|
||||||
|
* Polarhome.com is dead, so these OSs are no longer supported: AIX
|
||||||
|
HPUX IRIX Minix OPENSTEP OpenIndiana OpenServer QNX Solaris Syllable
|
||||||
|
Tru64 Ultrix UnixWare.
|
||||||
|
|
||||||
|
* Bug fixes and man page updates.
|
||||||
|
|
||||||
|
|
||||||
20220622
|
20220622
|
||||||
|
|
||||||
New in this release:
|
New in this release:
|
||||||
|
|
24
README
24
README
|
@ -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-20220622.tar.bz2
|
wget https://ftpmirror.gnu.org/parallel/parallel-20220722.tar.bz2
|
||||||
wget https://ftpmirror.gnu.org/parallel/parallel-20220622.tar.bz2.sig
|
wget https://ftpmirror.gnu.org/parallel/parallel-20220722.tar.bz2.sig
|
||||||
gpg parallel-20220622.tar.bz2.sig
|
gpg parallel-20220722.tar.bz2.sig
|
||||||
bzip2 -dc parallel-20220622.tar.bz2 | tar xvf -
|
bzip2 -dc parallel-20220722.tar.bz2 | tar xvf -
|
||||||
cd parallel-20220622
|
cd parallel-20220722
|
||||||
./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-20220622.tar.bz2
|
wget https://ftpmirror.gnu.org/parallel/parallel-20220722.tar.bz2
|
||||||
wget https://ftpmirror.gnu.org/parallel/parallel-20220622.tar.bz2.sig
|
wget https://ftpmirror.gnu.org/parallel/parallel-20220722.tar.bz2.sig
|
||||||
gpg parallel-20220622.tar.bz2.sig
|
gpg parallel-20220722.tar.bz2.sig
|
||||||
bzip2 -dc parallel-20220622.tar.bz2 | tar xvf -
|
bzip2 -dc parallel-20220722.tar.bz2 | tar xvf -
|
||||||
cd parallel-20220622
|
cd parallel-20220722
|
||||||
./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, June 22). GNU Parallel 20220622 ('Bongbong').
|
Tange, O. (2022, July 22). GNU Parallel 20220722 ('Roe vs Wade').
|
||||||
Zenodo. https://doi.org/10.5281/zenodo.6682930
|
Zenodo. https://doi.org/10.5281/zenodo.6891516
|
||||||
|
|
||||||
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
20
configure
vendored
|
@ -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 20220622.
|
# Generated by GNU Autoconf 2.71 for parallel 20220722.
|
||||||
#
|
#
|
||||||
# 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='20220622'
|
PACKAGE_VERSION='20220722'
|
||||||
PACKAGE_STRING='parallel 20220622'
|
PACKAGE_STRING='parallel 20220722'
|
||||||
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 20220622 to adapt to many kinds of systems.
|
\`configure' configures parallel 20220722 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 20220622:";;
|
short | recursive ) echo "Configuration of parallel 20220722:";;
|
||||||
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 20220622
|
parallel configure 20220722
|
||||||
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 20220622, which was
|
It was created by parallel $as_me 20220722, 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='20220622'
|
VERSION='20220722'
|
||||||
|
|
||||||
|
|
||||||
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 20220622, which was
|
This file was extended by parallel $as_me 20220722, 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 20220622
|
parallel config.status 20220722
|
||||||
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\\"
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
AC_INIT([parallel],[20220622],[bug-parallel@gnu.org])
|
AC_INIT([parallel],[20220722],[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([
|
||||||
|
|
|
@ -7,9 +7,6 @@ Quote of the month:
|
||||||
Gnu parallel is indeed slick. I always try to align my data to make it possible to loop over it with a nice for loop added in a call to run the jobs in parallel then becomes super easy. I love the {1..99} syntax in bash.
|
Gnu parallel is indeed slick. I always try to align my data to make it possible to loop over it with a nice for loop added in a call to run the jobs in parallel then becomes super easy. I love the {1..99} syntax in bash.
|
||||||
-- ragsofx
|
-- ragsofx
|
||||||
|
|
||||||
The syntax for GNU Parallel is so slick that I often use it just to make my script read nicer, and the parallelism is a cherry on top.
|
|
||||||
-- Epistaxis@reddit
|
|
||||||
|
|
||||||
xargs諦めてGNU Parallel使ったら一瞬で問題が解決したので終わり
|
xargs諦めてGNU Parallel使ったら一瞬で問題が解決したので終わり
|
||||||
-- aria_moto @moto_aria@twitter
|
-- aria_moto @moto_aria@twitter
|
||||||
|
|
||||||
|
@ -192,6 +189,9 @@ https://negfeedback.blogspot.com/2020/05/indispensable-command-line-tools.html
|
||||||
|
|
||||||
=== Used ===
|
=== Used ===
|
||||||
|
|
||||||
|
The syntax for GNU Parallel is so slick that I often use it just to make my script read nicer, and the parallelism is a cherry on top.
|
||||||
|
-- Epistaxis@reddit
|
||||||
|
|
||||||
Parallel has been (and still is) super useful and simple tool for speeding up all kinds of shell tasks during my career.
|
Parallel has been (and still is) super useful and simple tool for speeding up all kinds of shell tasks during my career.
|
||||||
-- ValtteriL@ycombinator
|
-- ValtteriL@ycombinator
|
||||||
|
|
||||||
|
|
|
@ -80,7 +80,7 @@ find home-tange/parallel/* -type f |
|
||||||
grep -Ev '(PKGBUILD|parallel.spec)' |
|
grep -Ev '(PKGBUILD|parallel.spec)' |
|
||||||
parallel -j1 'osc rm {} || rm {}'
|
parallel -j1 'osc rm {} || rm {}'
|
||||||
# This should not create new files
|
# This should not create new files
|
||||||
osc up home:tange/parallel/
|
osc up home-tange/parallel/
|
||||||
make
|
make
|
||||||
# Reload build-status:
|
# Reload build-status:
|
||||||
https://build.opensuse.org/package/show/home:tange/parallel
|
https://build.opensuse.org/package/show/home:tange/parallel
|
||||||
|
@ -254,25 +254,29 @@ from:tange@gnu.org
|
||||||
to:parallel@gnu.org, bug-parallel@gnu.org
|
to:parallel@gnu.org, bug-parallel@gnu.org
|
||||||
stable-bcc: Jesse Alama <jessealama@fastmail.fm>
|
stable-bcc: Jesse Alama <jessealama@fastmail.fm>
|
||||||
|
|
||||||
Subject: GNU Parallel 20220722 ('Roe vs Wade/EU candidate/Oslo/Matapour/Kremenchuk') released
|
Subject: GNU Parallel 20220722 ('Roe vs Wade') released
|
||||||
|
|
||||||
GNU Parallel 20220722 ('Roe vs Wade') has been released. It is available for download at: lbry://@GnuParallel:4
|
GNU Parallel 20220722 ('Roe vs Wade') has been released. It is available for download at: lbry://@GnuParallel:4
|
||||||
|
|
||||||
Quote of the month:
|
Quote of the month:
|
||||||
|
|
||||||
<<>>
|
The syntax for GNU Parallel is so slick that I often use it just to make my script read nicer, and the parallelism is a cherry on top.
|
||||||
|
-- Epistaxis@reddit
|
||||||
|
|
||||||
|
|
||||||
New in this release:
|
New in this release:
|
||||||
|
|
||||||
<<>>
|
* --colour-failed will color output red if the job fails.
|
||||||
|
|
||||||
|
* sql: support for InfluxDB.
|
||||||
|
|
||||||
|
* Polarhome.com is dead, so these OSs are no longer supported: AIX HPUX IRIX Minix OPENSTEP OpenIndiana OpenServer QNX Solaris Syllable Tru64 Ultrix UnixWare.
|
||||||
|
|
||||||
* Bug fixes and man page updates.
|
* Bug fixes and man page updates.
|
||||||
|
|
||||||
News about GNU Parallel:
|
News about GNU Parallel:
|
||||||
|
|
||||||
<<>>
|
* GNU Parallel used in "Hitting the Target" https://www.centrefornetzero.org/wp-content/uploads/2022/05/ABM-Report-Final.pdf
|
||||||
https://www.centrefornetzero.org/wp-content/uploads/2022/05/ABM-Report-Final.pdf
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
GNU Parallel - For people who live life in the parallel lane.
|
GNU Parallel - For people who live life in the parallel lane.
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
<directory name="parallel" rev="340" vrev="14" srcmd5="818fe88cc79f1f693857cbf17c0cab6d">
|
<directory name="parallel" rev="341" vrev="2" srcmd5="df119a8cde9feacd96d1622384c9ad95">
|
||||||
<entry name="PKGBUILD" md5="085ea1eab1b3a25cde57eb69d98c4ebd" size="1070" mtime="1656697399" />
|
<entry name="PKGBUILD" md5="850a5b17f7e058e18b6af65b53a48612" size="1200" mtime="1658646567" />
|
||||||
<entry name="parallel-20220622.tar.bz2" md5="e330d251d143e78261152a1bc9ba49b7" size="2395628" mtime="1656697582" />
|
<entry name="parallel-20220622.tar.bz2" md5="e330d251d143e78261152a1bc9ba49b7" size="2395628" mtime="1656697582" />
|
||||||
<entry name="parallel.spec" md5="4b068b20e87f0f383d57b5af349228b3" size="5965" mtime="1656697583" />
|
<entry name="parallel-20220722.tar.bz2" md5="381be98514f5804f0ae956a1798705ea" size="2388754" mtime="1658646567" />
|
||||||
<entry name="parallel_20220622.dsc" md5="c7185ac8ad5afbdfc66cd3c9ede085c1" size="556" mtime="1656696822" />
|
<entry name="parallel.spec" md5="3cc70d80e7d839081e91086e819f2c64" size="5912" mtime="1658646567" />
|
||||||
<entry name="parallel_20220622.tar.gz" md5="d45944d9caef1e5ed33f723827e2564f" size="2626563" mtime="1656696826" />
|
<entry name="parallel_20220622.tar.gz" md5="d45944d9caef1e5ed33f723827e2564f" size="2626563" mtime="1656696826" />
|
||||||
|
<entry name="parallel_20220722.dsc" md5="27151f1ef8d54d71078cd479020813c5" size="556" mtime="1658646567" />
|
||||||
|
<entry name="parallel_20220722.tar.gz" md5="1118175b66b25650bde51aec55ff5e99" size="2086052" mtime="1658646567" />
|
||||||
</directory>
|
</directory>
|
||||||
|
|
|
@ -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: 20220622
|
Version: 20220722
|
||||||
Release: 2.2
|
Release: 2.2
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
Group: Productivity/File utilities
|
Group: Productivity/File utilities
|
||||||
|
@ -123,8 +123,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%doc README NEWS src/parallel.html src/env_parallel.html src/parallel_tutorial.html src/parallel_design.html src/parallel_alternatives.html src/parallel_book.html src/sem.html src/sql.html src/parcat.html src/parset.html src/parsort.html src/niceload.html src/parallel.texi src/env_parallel.texi src/parallel_tutorial.texi src/parallel_design.texi src/parallel_alternatives.texi src/parallel_book.texi src/niceload.texi src/sem.texi src/sql.texi src/parcat.texi src/parset.texi src/parsort.texi src/parallel.pdf src/env_parallel.pdf src/parallel_tutorial.pdf src/parallel_design.pdf src/parallel_alternatives.pdf src/parallel_book.pdf src/niceload.pdf src/sem.pdf src/sql.pdf src/parcat.pdf src/parset.pdf src/parsort.pdf src/parallel_cheat_bw.pdf src/parallel_options_map.pdf src/parallel.rst src/env_parallel.rst src/parallel_tutorial.rst src/parallel_design.rst src/parallel_alternatives.rst src/parallel_book.rst src/niceload.rst src/sem.rst src/sql.rst src/parcat.rst src/parset.rst src/parsort.rst
|
%doc README NEWS src/parallel.html src/env_parallel.html src/parallel_tutorial.html src/parallel_design.html src/parallel_alternatives.html src/parallel_book.html src/sem.html src/sql.html src/parcat.html src/parset.html src/parsort.html src/niceload.html src/parallel.texi src/env_parallel.texi src/parallel_tutorial.texi src/parallel_design.texi src/parallel_alternatives.texi src/parallel_book.texi src/niceload.texi src/sem.texi src/sql.texi src/parcat.texi src/parset.texi src/parsort.texi src/parallel.pdf src/env_parallel.pdf src/parallel_tutorial.pdf src/parallel_design.pdf src/parallel_alternatives.pdf src/parallel_book.pdf src/niceload.pdf src/sem.pdf src/sql.pdf src/parcat.pdf src/parset.pdf src/parsort.pdf src/parallel_cheat_bw.pdf src/parallel_options_map.pdf src/parallel.rst src/env_parallel.rst src/parallel_tutorial.rst src/parallel_design.rst src/parallel_alternatives.rst src/parallel_book.rst src/niceload.rst src/sem.rst src/sql.rst src/parcat.rst src/parset.rst src/parsort.rst
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sat Jun 25 2022 Ole Tange
|
|
||||||
- added completion paths
|
|
||||||
* Sat Jan 22 2011 Ole Tange
|
* Sat Jan 22 2011 Ole Tange
|
||||||
- Upgrade to 20110122
|
- Upgrade to 20110122
|
||||||
* Wed Dec 22 2010 Ole Tange
|
* Wed Dec 22 2010 Ole Tange
|
||||||
|
|
|
@ -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 20220622 (GNU parallel `parallel --minversion 1`)"
|
echo "parset 20220722 (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>"
|
||||||
|
|
|
@ -397,7 +397,7 @@ _parset_main() {
|
||||||
fi
|
fi
|
||||||
if [ "$_parset_NAME" = "--version" ] ; then
|
if [ "$_parset_NAME" = "--version" ] ; then
|
||||||
# shellcheck disable=SC2006
|
# shellcheck disable=SC2006
|
||||||
echo "parset 20220622 (GNU parallel `parallel --minversion 1`)"
|
echo "parset 20220722 (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>"
|
||||||
|
|
|
@ -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 20220622 (GNU parallel `parallel --minversion 1`)"
|
echo "parset 20220722 (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>"
|
||||||
|
|
|
@ -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 20220622 (GNU parallel `parallel --minversion 1`)"
|
echo "parset 20220722 (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>"
|
||||||
|
|
|
@ -380,7 +380,7 @@ _parset_main() {
|
||||||
fi
|
fi
|
||||||
if [ "$_parset_NAME" = "--version" ] ; then
|
if [ "$_parset_NAME" = "--version" ] ; then
|
||||||
# shellcheck disable=SC2006
|
# shellcheck disable=SC2006
|
||||||
echo "parset 20220622 (GNU parallel `parallel --minversion 1`)"
|
echo "parset 20220722 (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>"
|
||||||
|
|
|
@ -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 20220622 (GNU parallel `parallel --minversion 1`)"
|
echo "parset 20220722 (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>"
|
||||||
|
|
|
@ -370,7 +370,7 @@ _parset_main() {
|
||||||
fi
|
fi
|
||||||
if [ "$_parset_NAME" = "--version" ] ; then
|
if [ "$_parset_NAME" = "--version" ] ; then
|
||||||
# shellcheck disable=SC2006
|
# shellcheck disable=SC2006
|
||||||
echo "parset 20220622 (GNU parallel `parallel --minversion 1`)"
|
echo "parset 20220722 (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>"
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
use strict;
|
use strict;
|
||||||
use Getopt::Long;
|
use Getopt::Long;
|
||||||
$Global::progname="niceload";
|
$Global::progname="niceload";
|
||||||
$Global::version = 20220622;
|
$Global::version = 20220722;
|
||||||
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) {
|
||||||
|
|
|
@ -1587,9 +1587,9 @@ Example:
|
||||||
See also: B<--line-buffer>
|
See also: B<--line-buffer>
|
||||||
|
|
||||||
|
|
||||||
=item B<--line-buffer> (beta testing)
|
=item B<--line-buffer> (alpha testing)
|
||||||
|
|
||||||
=item B<--lb> (beta testing)
|
=item B<--lb> (alpha testing)
|
||||||
|
|
||||||
Buffer output on line basis.
|
Buffer output on line basis.
|
||||||
|
|
||||||
|
@ -2864,7 +2864,7 @@ B<--shebang-wrap> must be set as the first option.
|
||||||
See also: B<--shebang>
|
See also: B<--shebang>
|
||||||
|
|
||||||
|
|
||||||
=item B<--shell-completion> I<shell> (beta testing)
|
=item B<--shell-completion> I<shell> (alpha testing)
|
||||||
|
|
||||||
Generate shell completion code for interactive shells.
|
Generate shell completion code for interactive shells.
|
||||||
|
|
||||||
|
|
|
@ -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 = 20220622;
|
$Global::version = 20220722;
|
||||||
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)]);
|
||||||
|
|
2
src/sql
2
src/sql
|
@ -667,7 +667,7 @@ $Global::Initfile && unlink $Global::Initfile;
|
||||||
exit ($err);
|
exit ($err);
|
||||||
|
|
||||||
sub parse_options {
|
sub parse_options {
|
||||||
$Global::version = 20220703;
|
$Global::version = 20220722;
|
||||||
$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
|
||||||
|
|
|
@ -42,36 +42,6 @@ par_round_robin_blocks() {
|
||||||
seq 20000000 | parallel -j8 --block 10M --round-robin --pipe wc -c | wc -l
|
seq 20000000 | parallel -j8 --block 10M --round-robin --pipe wc -c | wc -l
|
||||||
}
|
}
|
||||||
|
|
||||||
par_test_diff_roundrobin_k() {
|
|
||||||
echo '### test there is difference on -k'
|
|
||||||
. $(which env_parallel.bash)
|
|
||||||
mytest() {
|
|
||||||
K=$1
|
|
||||||
doit() {
|
|
||||||
# Sleep random time ever 1k line
|
|
||||||
# to mix up which process gets the next block
|
|
||||||
perl -ne '$t++ % 1000 or select(undef, undef, undef, rand()/10);print' |
|
|
||||||
md5sum
|
|
||||||
}
|
|
||||||
export -f doit
|
|
||||||
seq 1000000 |
|
|
||||||
parallel --block 65K --pipe $K --roundrobin doit |
|
|
||||||
sort
|
|
||||||
}
|
|
||||||
export -f mytest
|
|
||||||
parset a,b,c mytest ::: -k -k ''
|
|
||||||
# a == b and a != c or error
|
|
||||||
if [ "$a" == "$b" ]; then
|
|
||||||
if [ "$a" != "$c" ]; then
|
|
||||||
echo OK
|
|
||||||
else
|
|
||||||
echo error a c
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
echo error a b
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
par_compress_prg_fails() {
|
par_compress_prg_fails() {
|
||||||
echo '### bug #44546: If --compress-program fails: fail'
|
echo '### bug #44546: If --compress-program fails: fail'
|
||||||
doit() {
|
doit() {
|
||||||
|
|
|
@ -8,6 +8,36 @@
|
||||||
# Each should be taking 30-100s and be possible to run in parallel
|
# Each should be taking 30-100s and be possible to run in parallel
|
||||||
# I.e.: No race conditions, no logins
|
# I.e.: No race conditions, no logins
|
||||||
|
|
||||||
|
par_test_diff_roundrobin_k() {
|
||||||
|
echo '### test there is difference on -k'
|
||||||
|
. $(which env_parallel.bash)
|
||||||
|
mytest() {
|
||||||
|
K=$1
|
||||||
|
doit() {
|
||||||
|
# Sleep random time ever 1k line
|
||||||
|
# to mix up which process gets the next block
|
||||||
|
perl -ne '$t++ % 1000 or select(undef, undef, undef, rand()/10);print' |
|
||||||
|
md5sum
|
||||||
|
}
|
||||||
|
export -f doit
|
||||||
|
seq 1000000 |
|
||||||
|
parallel --block 65K --pipe $K --roundrobin doit |
|
||||||
|
sort
|
||||||
|
}
|
||||||
|
export -f mytest
|
||||||
|
parset a,b,c mytest ::: -k -k ''
|
||||||
|
# a == b and a != c or error
|
||||||
|
if [ "$a" == "$b" ]; then
|
||||||
|
if [ "$a" != "$c" ]; then
|
||||||
|
echo OK
|
||||||
|
else
|
||||||
|
echo error a c
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo error a b
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
par_bin() {
|
par_bin() {
|
||||||
echo '### Test --bin'
|
echo '### Test --bin'
|
||||||
seq 10 | parallel --pipe --bin 1 -j4 wc | sort
|
seq 10 | parallel --pipe --bin 1 -j4 wc | sort
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
par_ll_lb_color() {
|
par_ll_lb_color() {
|
||||||
echo 'bug #62386: --color (--ctag but without --tag)'
|
echo 'bug #62386: --color (--ctag but without --tag)'
|
||||||
echo 'bug #62438: See last line from multiple jobslots'
|
echo 'bug #62438: See last line from multiple jobslots'
|
||||||
# This is really a race condition - might have to be moved
|
# This is a race condition
|
||||||
# # delay modulo 4 seconds
|
# # delay modulo 4 seconds
|
||||||
# perl -MTime::HiRes -E 'Time::HiRes::usleep(1000000*(((time|3)+1)-Time::HiRes::time()));'
|
# perl -MTime::HiRes -E 'Time::HiRes::usleep(1000000*(((time|3)+1)-Time::HiRes::time()));'
|
||||||
# # delay modulo 2 seconds
|
# # delay modulo 2 seconds
|
||||||
|
@ -26,17 +26,21 @@ par_ll_lb_color() {
|
||||||
# # delay modulo 1 second + delta ms
|
# # delay modulo 1 second + delta ms
|
||||||
# perl -E 'use Time::HiRes qw(usleep time); $d=shift; for(1..shift){
|
# perl -E 'use Time::HiRes qw(usleep time); $d=shift; for(1..shift){
|
||||||
# usleep(1000000*($d-time+(1+time*1|0)/1));say;}' 0.2 6;
|
# usleep(1000000*($d-time+(1+time*1|0)/1));say;}' 0.2 6;
|
||||||
offset_seq() {
|
_offset_seq() {
|
||||||
perl -E 'use Time::HiRes qw(usleep time); $|=1;$d=shift; for(1..shift){
|
perl -E 'use Time::HiRes qw(usleep time); $|=1;$d=shift; for(1..shift){
|
||||||
usleep(1000000*($d-time+(1+time*1|0)/1));say;}' $@;
|
usleep(1000000*($d-time+(1+time*1|0)/1));say;}' $@;
|
||||||
}
|
}
|
||||||
|
offset_seq() {
|
||||||
|
perl -E 'use Time::HiRes qw(usleep time); $|=1;usleep(shift); for(1..shift){
|
||||||
|
usleep(1000000);say;}' $@;
|
||||||
|
}
|
||||||
export -f offset_seq
|
export -f offset_seq
|
||||||
run() {
|
run() {
|
||||||
seq 4 -1 1 | parallel -j0 $@ offset_seq 0.{#} {}
|
seq 4 -1 1 | parallel -j0 $@ offset_seq '{= $_=seq()*170000 =}' {}
|
||||||
}
|
}
|
||||||
export -f run
|
export -f run
|
||||||
|
|
||||||
parallel --delay 0.17 -vkj0 run \
|
parallel --delay 0.07 -vkj0 run \
|
||||||
::: --lb --ll '' ::: --color '' ::: '--tagstring {}{}' --tag '' ::: -k '' |
|
::: --lb --ll '' ::: --color '' ::: '--tagstring {}{}' --tag '' ::: -k '' |
|
||||||
md5sum
|
md5sum
|
||||||
}
|
}
|
||||||
|
|
|
@ -791,7 +791,7 @@ par_fish_underscore() {
|
||||||
echo "Fish is broken"
|
echo "Fish is broken"
|
||||||
echo "### Testing of --env _"
|
echo "### Testing of --env _"
|
||||||
|
|
||||||
# . `which env_parallel.fish`;
|
source (which env_parallel.fish)
|
||||||
true > ~/.parallel/ignored_vars;
|
true > ~/.parallel/ignored_vars;
|
||||||
|
|
||||||
alias not_copied_alias="echo BAD"
|
alias not_copied_alias="echo BAD"
|
||||||
|
@ -808,6 +808,8 @@ par_fish_underscore() {
|
||||||
end
|
end
|
||||||
set myvar "variables in";
|
set myvar "variables in";
|
||||||
set myarray and arrays in;
|
set myarray and arrays in;
|
||||||
|
|
||||||
|
echo Test copying;
|
||||||
env_parallel myfunc ::: work;
|
env_parallel myfunc ::: work;
|
||||||
env_parallel -S server myfunc ::: work;
|
env_parallel -S server myfunc ::: work;
|
||||||
env_parallel --env myfunc,myvar,myarray,myecho myfunc ::: work;
|
env_parallel --env myfunc,myvar,myarray,myecho myfunc ::: work;
|
||||||
|
@ -815,11 +817,13 @@ par_fish_underscore() {
|
||||||
env_parallel --env _ myfunc ::: work;
|
env_parallel --env _ myfunc ::: work;
|
||||||
env_parallel --env _ -S server myfunc ::: work;
|
env_parallel --env _ -S server myfunc ::: work;
|
||||||
|
|
||||||
|
echo Test ignoring;
|
||||||
env_parallel --env _ -S server not_copied_alias ::: error=OK;
|
env_parallel --env _ -S server not_copied_alias ::: error=OK;
|
||||||
env_parallel --env _ -S server not_copied_func ::: error=OK;
|
env_parallel --env _ -S server not_copied_func ::: error=OK;
|
||||||
env_parallel --env _ -S server echo \$not_copied_var ::: error=OK;
|
env_parallel --env _ -S server echo \$not_copied_var ::: error=OK;
|
||||||
env_parallel --env _ -S server echo \$not_copied_array ::: error=OK;
|
env_parallel --env _ -S server echo \$not_copied_array ::: error=OK;
|
||||||
|
|
||||||
|
echo Test single ignoring;
|
||||||
echo myvar > ~/.parallel/ignored_vars;
|
echo myvar > ~/.parallel/ignored_vars;
|
||||||
env_parallel --env _ myfunc ::: work;
|
env_parallel --env _ myfunc ::: work;
|
||||||
env_parallel --env _ -S server myfunc ::: work;
|
env_parallel --env _ -S server myfunc ::: work;
|
||||||
|
|
|
@ -32,7 +32,8 @@ stdout xargs -i -0 echo from \{\} to x{}y < items-0.xi
|
||||||
stdout parallel -k -i -0 echo from \{\} to x{}y < items-0.xi
|
stdout parallel -k -i -0 echo from \{\} to x{}y < items-0.xi
|
||||||
echo '### -i -s26 -0 echo from \{\} to x{}y < items-0.xi'
|
echo '### -i -s26 -0 echo from \{\} to x{}y < items-0.xi'
|
||||||
stdsort xargs -i -s26 -0 echo from \{\} to x{}y < items-0.xi
|
stdsort xargs -i -s26 -0 echo from \{\} to x{}y < items-0.xi
|
||||||
stdsort parallel -k -i -s26 -0 echo from \{\} to x{}y < items-0.xi
|
# -j1 is needed to avoid race condition
|
||||||
|
stdsort parallel -kj1 -i -s26 -0 echo from \{\} to x{}y < items-0.xi
|
||||||
echo '### -l -0 echo < ldata-0.xi'
|
echo '### -l -0 echo < ldata-0.xi'
|
||||||
stdout xargs -l -0 echo < ldata-0.xi
|
stdout xargs -l -0 echo < ldata-0.xi
|
||||||
stdout parallel -l -k -0 echo < ldata-0.xi
|
stdout parallel -l -k -0 echo < ldata-0.xi
|
||||||
|
|
|
@ -69,8 +69,8 @@ par_env_newline_backslash_bash() {
|
||||||
|
|
||||||
par_env_newline_backslash_csh() {
|
par_env_newline_backslash_csh() {
|
||||||
echo '### Test --env for \n and \\ - single and double (*csh only) - no output is good but csh fails'
|
echo '### Test --env for \n and \\ - single and double (*csh only) - no output is good but csh fails'
|
||||||
test_chr_on_sshlogin 10,92 2/tcsh@lo,2/csh@lo '' |
|
test_chr_on_sshlogin 10,92 2/csh@lo '' | perl -pe "s/'(.)'/\$1/g"
|
||||||
perl -pe "s/'(.)'/\$1/g"
|
test_chr_on_sshlogin 10,92 2/tcsh@lo '' | perl -pe "s/'(.)'/\$1/g"
|
||||||
}
|
}
|
||||||
|
|
||||||
par_env_newline_backslash_onall_bash() {
|
par_env_newline_backslash_onall_bash() {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
cpuburn=$(tempfile)
|
cpuburn=$(mktemp)
|
||||||
(echo '#!/usr/bin/perl'
|
(echo '#!/usr/bin/perl'
|
||||||
echo "eval{setpriority(0,0,9)}; while(1){}") > $cpuburn
|
echo "eval{setpriority(0,0,9)}; while(1){}") > $cpuburn
|
||||||
chmod 700 $cpuburn
|
chmod 700 $cpuburn
|
||||||
|
|
|
@ -80,12 +80,13 @@ par_exit() {
|
||||||
echo Sem exit value $?
|
echo Sem exit value $?
|
||||||
}
|
}
|
||||||
export -f test_signal
|
export -f test_signal
|
||||||
stdout parallel -k --timeout 3 --tag test_signal ::: {0..64} |
|
ulimit -c 0
|
||||||
|
stdout parallel -j15 -k --timeout 20 --tag test_signal ::: {0..64} |
|
||||||
perl -pe 's/line 1: (\d+)/line 1: PID/'
|
perl -pe 's/line 1: (\d+)/line 1: PID/'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
export -f $(compgen -A function | grep par_)
|
export -f $(compgen -A function | grep par_)
|
||||||
compgen -A function | grep par_ | LC_ALL=C sort |
|
compgen -A function | grep par_ | LC_ALL=C sort |
|
||||||
parallel --timeout 3000% -j6 --tag -k --joblog /tmp/jl-`basename $0` '{} 2>&1' |
|
parallel --timeout 30 -j6 --tag -k --joblog /tmp/jl-`basename $0` '{} 2>&1' |
|
||||||
perl -pe 's:/usr/bin:/bin:g'
|
perl -pe 's:/usr/bin:/bin:g'
|
||||||
|
|
|
@ -100,7 +100,8 @@ sql --tablesize :sqlunittest | wc -l
|
||||||
sql --table-size :sqlunittest | wc -l
|
sql --table-size :sqlunittest | wc -l
|
||||||
|
|
||||||
echo "### Test --debug"
|
echo "### Test --debug"
|
||||||
sql --debug :sqlunittest "SELECT 'Yes it does' as 'Test if --debug works';"
|
sql --debug :sqlunittest "SELECT 'Yes it does' as 'Test if --debug works';" |
|
||||||
|
perl -pe 's:/tmp/sql01-tmpdir/...........sql:tmpfile:g'
|
||||||
|
|
||||||
echo "### Test --version -V"
|
echo "### Test --version -V"
|
||||||
sql --version | wc
|
sql --version | wc
|
||||||
|
|
|
@ -970,8 +970,6 @@ par_sockets_cores_threads ### Test --use-sockets-instead-of-threads
|
||||||
par_sockets_cores_threads threads done
|
par_sockets_cores_threads threads done
|
||||||
par_sockets_cores_threads sockets done
|
par_sockets_cores_threads sockets done
|
||||||
par_sockets_cores_threads Threads should complete first on machines with less than 8 sockets
|
par_sockets_cores_threads Threads should complete first on machines with less than 8 sockets
|
||||||
par_test_diff_roundrobin_k ### test there is difference on -k
|
|
||||||
par_test_diff_roundrobin_k OK
|
|
||||||
par_tmp_full ### Test --tmpdir running full. bug #40733 was caused by this
|
par_tmp_full ### Test --tmpdir running full. bug #40733 was caused by this
|
||||||
par_tmp_full parallel: Error: Output is incomplete.
|
par_tmp_full parallel: Error: Output is incomplete.
|
||||||
par_tmp_full parallel: Error: Cannot append to buffer file in /tmp/shm/parallel.
|
par_tmp_full parallel: Error: Cannot append to buffer file in /tmp/shm/parallel.
|
||||||
|
|
|
@ -236,9 +236,8 @@ par_test_build_and_install make[0]: Entering directory '/tmp/parallel-00000000'
|
||||||
par_test_build_and_install make[0]: Nothing to be done for 'install-exec-am'.
|
par_test_build_and_install make[0]: Nothing to be done for 'install-exec-am'.
|
||||||
par_test_build_and_install make install-data-hook
|
par_test_build_and_install make install-data-hook
|
||||||
par_test_build_and_install make[0]: Entering directory '/tmp/parallel-00000000'
|
par_test_build_and_install make[0]: Entering directory '/tmp/parallel-00000000'
|
||||||
par_test_build_and_install mkdir -p /tmp/parallel-install/share/bash-completion/completions
|
par_test_build_and_install mkdir -p /tmp/parallel-install/share/zsh/site-functions /tmp/parallel-install/share/bash-completion/completions
|
||||||
par_test_build_and_install mkdir -p /tmp/parallel-install/share/zsh/site-functions
|
par_test_build_and_install src/parallel --shell-completion bash > /tmp/parallel-install/share/bash-completion/completions/parallel
|
||||||
par_test_build_and_install parallel --shell-completion bash > /tmp/parallel-install/share/bash-completion/completions/parallel
|
|
||||||
par_test_build_and_install echo '#compdef parallel' > /tmp/parallel-install/share/zsh/site-functions/_parallel
|
par_test_build_and_install echo '#compdef parallel' > /tmp/parallel-install/share/zsh/site-functions/_parallel
|
||||||
par_test_build_and_install echo '(( $+functions[_comp_parallel] )) ||' >> /tmp/parallel-install/share/zsh/site-functions/_parallel
|
par_test_build_and_install echo '(( $+functions[_comp_parallel] )) ||' >> /tmp/parallel-install/share/zsh/site-functions/_parallel
|
||||||
par_test_build_and_install echo ' eval "$(parallel --shell-completion auto)" &&' >> /tmp/parallel-install/share/zsh/site-functions/_parallel
|
par_test_build_and_install echo ' eval "$(parallel --shell-completion auto)" &&' >> /tmp/parallel-install/share/zsh/site-functions/_parallel
|
||||||
|
@ -726,9 +725,8 @@ par_test_build_and_install make[0]: Entering directory '/tmp/parallel-00000000'
|
||||||
par_test_build_and_install make[0]: Nothing to be done for 'install-exec-am'.
|
par_test_build_and_install make[0]: Nothing to be done for 'install-exec-am'.
|
||||||
par_test_build_and_install make install-data-hook
|
par_test_build_and_install make install-data-hook
|
||||||
par_test_build_and_install make[0]: Entering directory '/tmp/parallel-00000000'
|
par_test_build_and_install make[0]: Entering directory '/tmp/parallel-00000000'
|
||||||
par_test_build_and_install mkdir -p /tmp/parallel-install/share/bash-completion/completions
|
par_test_build_and_install mkdir -p /tmp/parallel-install/share/zsh/site-functions /tmp/parallel-install/share/bash-completion/completions
|
||||||
par_test_build_and_install mkdir -p /tmp/parallel-install/share/zsh/site-functions
|
par_test_build_and_install src/parallel --shell-completion bash > /tmp/parallel-install/share/bash-completion/completions/parallel
|
||||||
par_test_build_and_install parallel --shell-completion bash > /tmp/parallel-install/share/bash-completion/completions/parallel
|
|
||||||
par_test_build_and_install echo '#compdef parallel' > /tmp/parallel-install/share/zsh/site-functions/_parallel
|
par_test_build_and_install echo '#compdef parallel' > /tmp/parallel-install/share/zsh/site-functions/_parallel
|
||||||
par_test_build_and_install echo '(( $+functions[_comp_parallel] )) ||' >> /tmp/parallel-install/share/zsh/site-functions/_parallel
|
par_test_build_and_install echo '(( $+functions[_comp_parallel] )) ||' >> /tmp/parallel-install/share/zsh/site-functions/_parallel
|
||||||
par_test_build_and_install echo ' eval "$(parallel --shell-completion auto)" &&' >> /tmp/parallel-install/share/zsh/site-functions/_parallel
|
par_test_build_and_install echo ' eval "$(parallel --shell-completion auto)" &&' >> /tmp/parallel-install/share/zsh/site-functions/_parallel
|
||||||
|
|
|
@ -1856,3 +1856,5 @@ par_test_detected_shell test_known_shell_pipe static-sh Global::shell /usr/bin/s
|
||||||
par_test_detected_shell test_known_shell_pipe tcsh Global::shell /usr/bin/tcsh
|
par_test_detected_shell test_known_shell_pipe tcsh Global::shell /usr/bin/tcsh
|
||||||
par_test_detected_shell test_known_shell_pipe yash Global::shell /usr/bin/yash
|
par_test_detected_shell test_known_shell_pipe yash Global::shell /usr/bin/yash
|
||||||
par_test_detected_shell test_known_shell_pipe zsh Global::shell /usr/bin/zsh
|
par_test_detected_shell test_known_shell_pipe zsh Global::shell /usr/bin/zsh
|
||||||
|
par_test_diff_roundrobin_k ### test there is difference on -k
|
||||||
|
par_test_diff_roundrobin_k OK
|
||||||
|
|
|
@ -120,7 +120,7 @@ par_kill_hup parallel: bash -c 'sleep 3 & pid=$!; wait $pid'
|
||||||
par_kill_hup bash---pstree
|
par_kill_hup bash---pstree
|
||||||
par_ll_lb_color bug #62386: --color (--ctag but without --tag)
|
par_ll_lb_color bug #62386: --color (--ctag but without --tag)
|
||||||
par_ll_lb_color bug #62438: See last line from multiple jobslots
|
par_ll_lb_color bug #62438: See last line from multiple jobslots
|
||||||
par_ll_lb_color 715a389ad9d92c8fab448a74494617d1 -
|
par_ll_lb_color 90c6a891f3cd706c82a76c9747de176c -
|
||||||
par_more_than_9_relative_sshlogin ### Check more than 9(relative) simultaneous sshlogins
|
par_more_than_9_relative_sshlogin ### Check more than 9(relative) simultaneous sshlogins
|
||||||
par_more_than_9_relative_sshlogin 1
|
par_more_than_9_relative_sshlogin 1
|
||||||
par_more_than_9_relative_sshlogin 2
|
par_more_than_9_relative_sshlogin 2
|
||||||
|
|
|
@ -1321,12 +1321,14 @@ par_ksh_env_parallel env_parallel: Warning: See BUGS in "man env_parallel".
|
||||||
par_fish_underscore ### fish
|
par_fish_underscore ### fish
|
||||||
par_fish_underscore Fish is broken
|
par_fish_underscore Fish is broken
|
||||||
par_fish_underscore ### Testing of --env _
|
par_fish_underscore ### Testing of --env _
|
||||||
|
par_fish_underscore Test copying
|
||||||
par_fish_underscore variables in aliases and arrays in functions work
|
par_fish_underscore variables in aliases and arrays in functions work
|
||||||
par_fish_underscore variables in aliases and arrays in functions work
|
par_fish_underscore variables in aliases and arrays in functions work
|
||||||
par_fish_underscore variables in aliases and arrays in functions work
|
par_fish_underscore variables in aliases and arrays in functions work
|
||||||
par_fish_underscore variables in aliases and arrays in functions work
|
par_fish_underscore variables in aliases and arrays in functions work
|
||||||
par_fish_underscore variables in aliases and arrays in functions work
|
par_fish_underscore variables in aliases and arrays in functions work
|
||||||
par_fish_underscore variables in aliases and arrays in functions work
|
par_fish_underscore variables in aliases and arrays in functions work
|
||||||
|
par_fish_underscore Test ignoring
|
||||||
par_fish_underscore script (line XXX):
|
par_fish_underscore script (line XXX):
|
||||||
par_fish_underscore not_copied_alias 'error=OK'
|
par_fish_underscore not_copied_alias 'error=OK'
|
||||||
par_fish_underscore ^
|
par_fish_underscore ^
|
||||||
|
@ -1335,6 +1337,7 @@ par_fish_underscore not_copied_func 'error=OK'
|
||||||
par_fish_underscore ^
|
par_fish_underscore ^
|
||||||
par_fish_underscore error=OK
|
par_fish_underscore error=OK
|
||||||
par_fish_underscore error=OK
|
par_fish_underscore error=OK
|
||||||
|
par_fish_underscore Test single ignoring
|
||||||
par_fish_underscore aliases and arrays in functions work
|
par_fish_underscore aliases and arrays in functions work
|
||||||
par_fish_underscore aliases and arrays in functions work
|
par_fish_underscore aliases and arrays in functions work
|
||||||
par_fish_underscore aliases functions work
|
par_fish_underscore aliases functions work
|
||||||
|
|
|
@ -87,7 +87,8 @@ echo '### -i -s26 -0 echo from \{\} to x{}y < items-0.xi'
|
||||||
stdsort xargs -i -s26 -0 echo from \{\} to x{}y < items-0.xi
|
stdsort xargs -i -s26 -0 echo from \{\} to x{}y < items-0.xi
|
||||||
from one to xoney
|
from one to xoney
|
||||||
xargs: argument list too long
|
xargs: argument list too long
|
||||||
stdsort parallel -k -i -s26 -0 echo from \{\} to x{}y < items-0.xi
|
# -j1 is needed to avoid race condition
|
||||||
|
stdsort parallel -kj1 -i -s26 -0 echo from \{\} to x{}y < items-0.xi
|
||||||
|
|
||||||
from one to xoney
|
from one to xoney
|
||||||
parallel: Error: Command line too long (32 >= 26) at input 0:
|
parallel: Error: Command line too long (32 >= 26) at input 0:
|
||||||
|
|
|
@ -5,8 +5,6 @@ par_env_newline_backslash_bash ### Test --env for \n and \\ - single and double
|
||||||
par_env_newline_backslash_bash 8
|
par_env_newline_backslash_bash 8
|
||||||
par_env_newline_backslash_bash 8
|
par_env_newline_backslash_bash 8
|
||||||
par_env_newline_backslash_csh ### Test --env for \n and \\ - single and double (*csh only) - no output is good but csh fails
|
par_env_newline_backslash_csh ### Test --env for \n and \\ - single and double (*csh only) - no output is good but csh fails
|
||||||
par_env_newline_backslash_csh 2 2\ \92V2=\ \92
|
|
||||||
par_env_newline_backslash_csh 2 2\\ \92V2=\\ \92
|
|
||||||
par_env_newline_backslash_onall_bash ### Test --env for \n and \\ - single and double --onall (bash only) - no output is good
|
par_env_newline_backslash_onall_bash ### Test --env for \n and \\ - single and double --onall (bash only) - no output is good
|
||||||
par_env_newline_backslash_onall_bash 16
|
par_env_newline_backslash_onall_bash 16
|
||||||
par_env_newline_backslash_onall_bash 16
|
par_env_newline_backslash_onall_bash 16
|
||||||
|
|
|
@ -692,7 +692,6 @@ 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
|
||||||
|
|
|
@ -47,6 +47,7 @@ def 3
|
||||||
### Test --debug
|
### Test --debug
|
||||||
dburl mysql://tange:tange@localhost:3306/tange
|
dburl mysql://tange:tange@localhost:3306/tange
|
||||||
databasedriver mysql user tange password tange host localhost port 3306 database tange query
|
databasedriver mysql user tange password tange host localhost port 3306 database tange query
|
||||||
|
[ | ((sleep 1; rm tmpfile) & mysql --defaults-extra-file=tmpfile -C --host=localhost --user=tange --port=3306 tange)]
|
||||||
Test if --debug works
|
Test if --debug works
|
||||||
Yes it does
|
Yes it does
|
||||||
### Test --version -V
|
### Test --version -V
|
||||||
|
@ -55,21 +56,28 @@ Yes it does
|
||||||
### Test -r
|
### Test -r
|
||||||
dburl pg://nongood@127.0.0.3:2227/
|
dburl pg://nongood@127.0.0.3:2227/
|
||||||
databasedriver pg user nongood password host 127.0.0.3 port 2227 database nongood query
|
databasedriver pg user nongood password host 127.0.0.3 port 2227 database nongood query
|
||||||
|
[ | psql -h 127.0.0.3 -U nongood -p 2227 -d nongood]
|
||||||
psql: error: connection to server at "127.0.0.3", port 2227 failed: Connection refused
|
psql: error: connection to server at "127.0.0.3", port 2227 failed: Connection refused
|
||||||
Is the server running on that host and accepting TCP/IP connections?
|
Is the server running on that host and accepting TCP/IP connections?
|
||||||
|
[ | psql -h 127.0.0.3 -U nongood -p 2227 -d nongood]
|
||||||
psql: error: connection to server at "127.0.0.3", port 2227 failed: Connection refused
|
psql: error: connection to server at "127.0.0.3", port 2227 failed: Connection refused
|
||||||
Is the server running on that host and accepting TCP/IP connections?
|
Is the server running on that host and accepting TCP/IP connections?
|
||||||
|
[ | psql -h 127.0.0.3 -U nongood -p 2227 -d nongood]
|
||||||
psql: error: connection to server at "127.0.0.3", port 2227 failed: Connection refused
|
psql: error: connection to server at "127.0.0.3", port 2227 failed: Connection refused
|
||||||
Is the server running on that host and accepting TCP/IP connections?
|
Is the server running on that host and accepting TCP/IP connections?
|
||||||
### Test --retries=s
|
### Test --retries=s
|
||||||
dburl pg://nongood@127.0.0.3:2227/
|
dburl pg://nongood@127.0.0.3:2227/
|
||||||
databasedriver pg user nongood password host 127.0.0.3 port 2227 database nongood query
|
databasedriver pg user nongood password host 127.0.0.3 port 2227 database nongood query
|
||||||
|
[ | psql -h 127.0.0.3 -U nongood -p 2227 -d nongood]
|
||||||
psql: error: connection to server at "127.0.0.3", port 2227 failed: Connection refused
|
psql: error: connection to server at "127.0.0.3", port 2227 failed: Connection refused
|
||||||
Is the server running on that host and accepting TCP/IP connections?
|
Is the server running on that host and accepting TCP/IP connections?
|
||||||
|
[ | psql -h 127.0.0.3 -U nongood -p 2227 -d nongood]
|
||||||
psql: error: connection to server at "127.0.0.3", port 2227 failed: Connection refused
|
psql: error: connection to server at "127.0.0.3", port 2227 failed: Connection refused
|
||||||
Is the server running on that host and accepting TCP/IP connections?
|
Is the server running on that host and accepting TCP/IP connections?
|
||||||
|
[ | psql -h 127.0.0.3 -U nongood -p 2227 -d nongood]
|
||||||
psql: error: connection to server at "127.0.0.3", port 2227 failed: Connection refused
|
psql: error: connection to server at "127.0.0.3", port 2227 failed: Connection refused
|
||||||
Is the server running on that host and accepting TCP/IP connections?
|
Is the server running on that host and accepting TCP/IP connections?
|
||||||
|
[ | psql -h 127.0.0.3 -U nongood -p 2227 -d nongood]
|
||||||
psql: error: connection to server at "127.0.0.3", port 2227 failed: Connection refused
|
psql: error: connection to server at "127.0.0.3", port 2227 failed: Connection refused
|
||||||
Is the server running on that host and accepting TCP/IP connections?
|
Is the server running on that host and accepting TCP/IP connections?
|
||||||
### Test --help -h
|
### Test --help -h
|
||||||
|
|
|
@ -8,7 +8,7 @@ par_influx name: databases
|
||||||
par_influx name
|
par_influx name
|
||||||
par_influx ----
|
par_influx ----
|
||||||
par_influx _internal
|
par_influx _internal
|
||||||
par_influx tange
|
par_influx mydb
|
||||||
par_influx parallel
|
par_influx parallel
|
||||||
par_influx name: cpu
|
par_influx name: cpu
|
||||||
par_influx time host region value
|
par_influx time host region value
|
||||||
|
|
Loading…
Reference in a new issue