[-]
[+]
|
Changed |
_service:tar_git:parallel.spec
|
|
[-]
[+]
|
Changed |
_service
^
|
@@ -2,7 +2,7 @@
<service name="tar_git">
<param name="url">https://github.com/sailfishos-chum/parallel</param>
<param name="branch"></param>
- <param name="revision">20220822+git2</param>
+ <param name="revision">20220922+git1</param>
<param name="token"/>
<param name="debian">N</param>
<param name="dumb">N</param>
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20220922+git1.tar.bz2/upstream/NEWS
^
|
@@ -2,6 +2,23 @@
New in this release:
+* --colour-failed only changes output for failing jobs.
+
+* Password for --sshlogin can be put in $SSHPASS.
+
+* Examples are moved from `man parallel` to `man parallel_examples`.
+
+* Bug fixes and man page updates.
+
+News about GNU Parallel:
+
+* WOMM - Works On My Machine uses GNU Parallel https://pypi.org/project/womm/
+
+
+20220822
+
+New in this release:
+
* --header 0 allows using {filename} as replacement string
* Bug fixes and man page updates.
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20220922+git1.tar.bz2/upstream/README
^
|
@@ -57,11 +57,11 @@
Full installation of GNU Parallel is as simple as:
- wget https://ftpmirror.gnu.org/parallel/parallel-20220822.tar.bz2
- wget https://ftpmirror.gnu.org/parallel/parallel-20220822.tar.bz2.sig
- gpg parallel-20220822.tar.bz2.sig
- bzip2 -dc parallel-20220822.tar.bz2 | tar xvf -
- cd parallel-20220822
+ wget https://ftpmirror.gnu.org/parallel/parallel-20220922.tar.bz2
+ wget https://ftpmirror.gnu.org/parallel/parallel-20220922.tar.bz2.sig
+ gpg parallel-20220922.tar.bz2.sig
+ bzip2 -dc parallel-20220922.tar.bz2 | tar xvf -
+ cd parallel-20220922
./configure && make && sudo make install
@@ -70,11 +70,11 @@
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-20220822.tar.bz2
- wget https://ftpmirror.gnu.org/parallel/parallel-20220822.tar.bz2.sig
- gpg parallel-20220822.tar.bz2.sig
- bzip2 -dc parallel-20220822.tar.bz2 | tar xvf -
- cd parallel-20220822
+ wget https://ftpmirror.gnu.org/parallel/parallel-20220922.tar.bz2
+ wget https://ftpmirror.gnu.org/parallel/parallel-20220922.tar.bz2.sig
+ gpg parallel-20220922.tar.bz2.sig
+ bzip2 -dc parallel-20220922.tar.bz2 | tar xvf -
+ cd parallel-20220922
./configure --prefix=$HOME && make && make install
Or if your system lacks 'make' you can simply copy src/parallel
@@ -122,8 +122,8 @@
When using programs that use GNU Parallel to process data for
publication please cite:
- Tange, O. (2022, August 22). GNU Parallel 20220822 ('Rushdie').
- Zenodo. https://doi.org/10.5281/zenodo.7015730
+ Tange, O. (2022, September 22). GNU Parallel 20220922 ('Elizabeth').
+ Zenodo. https://doi.org/10.5281/zenodo.7105792
Copyright (C) 2007-2022 Ole Tange, http://ole.tange.dk and Free
Software Foundation, Inc.
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20220922+git1.tar.bz2/upstream/configure
^
|
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.71 for parallel 20220822.
+# Generated by GNU Autoconf 2.71 for parallel 20220922.
#
# Report bugs to <bug-parallel@gnu.org>.
#
@@ -610,8 +610,8 @@
# Identity of this package.
PACKAGE_NAME='parallel'
PACKAGE_TARNAME='parallel'
-PACKAGE_VERSION='20220822'
-PACKAGE_STRING='parallel 20220822'
+PACKAGE_VERSION='20220922'
+PACKAGE_STRING='parallel 20220922'
PACKAGE_BUGREPORT='bug-parallel@gnu.org'
PACKAGE_URL=''
@@ -1246,7 +1246,7 @@
# 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 20220822 to adapt to many kinds of systems.
+\`configure' configures parallel 20220922 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1313,7 +1313,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of parallel 20220822:";;
+ short | recursive ) echo "Configuration of parallel 20220922:";;
esac
cat <<\_ACEOF
@@ -1390,7 +1390,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-parallel configure 20220822
+parallel configure 20220922
generated by GNU Autoconf 2.71
Copyright (C) 2021 Free Software Foundation, Inc.
@@ -1427,7 +1427,7 @@
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 20220822, which was
+It was created by parallel $as_me 20220922, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ $0$ac_configure_args_raw
@@ -2379,7 +2379,7 @@
# Define the identity of the package.
PACKAGE='parallel'
- VERSION='20220822'
+ VERSION='20220922'
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -3026,7 +3026,7 @@
# 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 20220822, which was
+This file was extended by parallel $as_me 20220922, which was
generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -3090,7 +3090,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
-parallel config.status 20220822
+parallel config.status 20220922
configured by $0, generated by GNU Autoconf 2.71,
with options \\"\$ac_cs_config\\"
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20220922+git1.tar.bz2/upstream/configure.ac
^
|
@@ -1,4 +1,4 @@
-AC_INIT([parallel],[20220822],[bug-parallel@gnu.org])
+AC_INIT([parallel],[20220922],[bug-parallel@gnu.org])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20220922+git1.tar.bz2/upstream/doc/haikus
^
|
@@ -4,6 +4,15 @@
Quote of the month:
+ Doing some absolutely bonkers "data science" on the command line. GNU parallel + JQ is very powerful, allowing me to parse and 10Gig-JSON-File in under a minute.
+ -- @jeeger@twitter Keter-class developer
+
+ I've learned a lot during my internship, but getting even slightly more proficient with GNU parallel is probably the most important thing I've learned...
+ -- Elijah Rippeth @terrible_coder@twitter
+
+ I honestly don't know how I'd survive without @Docker and @GNU_Parallel
+ -- Eric Pauley @EricPauley_@twitter
+
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
@@ -186,6 +195,9 @@
=== Used ===
+ reduced our backend test pipelines from 4 to 1.30 hrs. gnu parallel for the win!!!
+ -- Swapnil Sahu @CaffeinatedWryy@twitter
+
Parallel is Good Stuff (tm)
-- bloopernova@ycombinator
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20220922+git1.tar.bz2/upstream/doc/release_new_version
^
|
@@ -255,21 +255,29 @@
to:parallel@gnu.org, bug-parallel@gnu.org
stable-bcc: Jesse Alama <jessealama@fastmail.fm>
-Subject: GNU Parallel 20220822 ('Rushdie') released
+Subject: GNU Parallel 20220922 ('Elizabeth') released
-GNU Parallel 20220822 ('Rushdie') has been released. It is available for download at: lbry://@GnuParallel:4
+GNU Parallel 20220922 ('Elizabeth') has been released. It is available for download at: lbry://@GnuParallel:4
Quote of the month:
- Parallel is Good Stuff (tm)
- -- bloopernova@ycombinator
+ reduced our backend test pipelines from 4 to 1.30 hrs. gnu parallel for the win!!!
+ -- Swapnil Sahu @CaffeinatedWryy@twitter
New in this release:
-* --header 0 allows using {filename} as replacement string
+* --colour-failed only changes output for failing jobs.
+
+* Password for --sshlogin can be put in $SSHPASS.
+
+* Examples are moved from `man parallel` to `man parallel_examples`.
* Bug fixes and man page updates.
+News about GNU Parallel:
+
+* WOMM - Works On My Machine uses GNU Parallel https://pypi.org/project/womm/
+
GNU Parallel - For people who live life in the parallel lane.
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20220922+git1.tar.bz2/upstream/packager/obs/home-tange/parallel/.osc/_files
^
|
@@ -1,6 +1,7 @@
-<directory name="parallel" rev="347" vrev="2" srcmd5="803d9855154ec525873bed4782299c57">
- <entry name="PKGBUILD" md5="20e14c8cccb155e3face39ed1a5f8e32" size="1866" mtime="1661195576" />
- <entry name="parallel-20220822.tar.bz2" md5="df66fc183b6abddcf3d096d3d9c7e3fd" size="2389868" mtime="1661195576" />
- <entry name="parallel.spec" md5="5782a2e9ee73bd3bf2b3824dc7fe9b61" size="6224" mtime="1661195576" />
- <entry name="parallel_20220822.tar.gz" md5="b4907f90688afd39e7e8ce14650e7209" size="2646757" mtime="1661195577" />
+<directory name="parallel" rev="350" vrev="2" srcmd5="57bc8fc37f93dc2913993feaf20d195c">
+ <entry name="PKGBUILD" md5="fb653a6d538ae7d2cc7302fd7e925d1c" size="1866" mtime="1663868896" />
+ <entry name="parallel-20220922.tar.bz2" md5="fdc53e9ec55ee9e05c9df85462845961" size="2407079" mtime="1663868897" />
+ <entry name="parallel.spec" md5="053f2744317b2365be9f67ea35c911ba" size="6224" mtime="1663868897" />
+ <entry name="parallel_20220922.dsc" md5="0d50ad24164359e1475509873bc53862" size="556" mtime="1663868897" />
+ <entry name="parallel_20220922.tar.gz" md5="493bd67d5ca1099fe7b0495c68ecb918" size="2667338" mtime="1663868897" />
</directory>
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20220922+git1.tar.bz2/upstream/packager/obs/home-tange/parallel/.osc/parallel.spec
^
|
@@ -1,8 +1,8 @@
Summary: Shell tool for executing jobs in parallel
Name: parallel
-Version: 20220822
-Release: 2.2
+Version: 20220922
+Release: 2.1
License: GPL-3.0-or-later
Group: Productivity/File utilities
URL: ftp://ftp.gnu.org/gnu/parallel
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20220922+git1.tar.bz2/upstream/src/Makefile.am
^
|
@@ -13,25 +13,29 @@
$(LN_S) parallel "$(DESTDIR)$(bindir)"/sem
if DOCUMENTATION
-man_MANS = parallel.1 env_parallel.1 sem.1 sql.1 niceload.1 \
- parallel_tutorial.7 parallel_book.7 parallel_design.7 \
- parallel_alternatives.7 parcat.1 parset.1 parsort.1
+man_MANS = parallel.1 env_parallel.1 sem.1 sql.1 niceload.1 \
+ parallel_examples.7 parallel_tutorial.7 parallel_book.7 \
+ parallel_design.7 parallel_alternatives.7 parcat.1 parset.1 \
+ parsort.1
doc_DATA = parallel.html env_parallel.html sem.html sql.html \
- niceload.html parallel_tutorial.html parallel_book.html \
- parallel_design.html parallel_alternatives.html parcat.html \
- parset.html parsort.html \
- parallel.texi env_parallel.texi sem.texi sql.texi \
- niceload.texi parallel_tutorial.texi parallel_book.texi \
- parallel_design.texi parallel_alternatives.texi parcat.texi \
- parset.texi parsort.texi \
- parallel.rst env_parallel.rst sem.rst sql.rst \
- niceload.rst parallel_tutorial.rst parallel_book.rst \
+ niceload.html parallel_examples.html parallel_tutorial.html \
+ parallel_book.html parallel_design.html \
+ parallel_alternatives.html parcat.html parset.html \
+ parsort.html \
+ parallel.texi env_parallel.texi sem.texi sql.texi \
+ niceload.texi parallel_examples.texi parallel_tutorial.texi \
+ parallel_book.texi parallel_design.texi \
+ parallel_alternatives.texi parcat.texi parset.texi \
+ parsort.texi \
+ parallel.rst env_parallel.rst sem.rst sql.rst niceload.rst \
+ parallel_examples.rst parallel_tutorial.rst parallel_book.rst \
parallel_design.rst parallel_alternatives.rst parcat.rst \
parset.rst parsort.rst \
parallel.pdf env_parallel.pdf sem.pdf sql.pdf niceload.pdf \
- parallel_tutorial.pdf parallel_book.pdf parallel_design.pdf \
- parallel_alternatives.pdf parcat.pdf parset.pdf parsort.pdf \
- parallel_cheat_bw.pdf parallel_options_map.pdf
+ parallel_examples.pdf parallel_tutorial.pdf parallel_book.pdf \
+ parallel_design.pdf parallel_alternatives.pdf parcat.pdf \
+ parset.pdf parsort.pdf parallel_cheat_bw.pdf \
+ parallel_options_map.pdf
endif
web: sphinx
@@ -54,6 +58,12 @@
&& mv "$(srcdir)"/env_parallel.1n "$(srcdir)"/env_parallel.1 \
|| echo "Warning: pod2man not found. Using old env_parallel.1"
+parallel_examples.7: parallel_examples.pod
+ pod2man --release='$(PACKAGE_VERSION)' --center='$(PACKAGE_NAME)' \
+ --section=7 "$(srcdir)"/parallel_examples.pod > "$(srcdir)"/parallel_examples.7n \
+ && mv "$(srcdir)"/parallel_examples.7n "$(srcdir)"/parallel_examples.7 \
+ || echo "Warning: pod2man not found. Using old parallel_examples.7"
+
parallel_tutorial.7: parallel_tutorial.pod
pod2man --release='$(PACKAGE_VERSION)' --center='$(PACKAGE_NAME)' \
--section=7 "$(srcdir)"/parallel_tutorial.pod > "$(srcdir)"/parallel_tutorial.7n \
@@ -128,6 +138,13 @@
rm -f "$(srcdir)"/pod2htm*
# Depending on env_parallel.html to avoid stupid pod2html race condition
+parallel_examples.html: parallel_examples.pod env_parallel.html
+ pod2html --title "GNU Parallel examples" "$(srcdir)"/parallel_examples.pod > "$(srcdir)"/parallel_examples.htmln \
+ && mv "$(srcdir)"/parallel_examples.htmln "$(srcdir)"/parallel_examples.html \
+ || echo "Warning: pod2html not found. Using old parallel_examples.html"
+ rm -f "$(srcdir)"/pod2htm*
+
+# Depending on parallel_examples.html to avoid stupid pod2html race condition
parallel_tutorial.html: parallel_tutorial.pod env_parallel.html
pod2html --title "GNU Parallel tutorial" "$(srcdir)"/parallel_tutorial.pod > "$(srcdir)"/parallel_tutorial.htmln \
&& mv "$(srcdir)"/parallel_tutorial.htmln "$(srcdir)"/parallel_tutorial.html \
@@ -205,6 +222,10 @@
pod2texi --output="$(srcdir)"/env_parallel.texi "$(srcdir)"/env_parallel.pod \
|| echo "Warning: pod2texi not found. Using old env_parallel.texi"
+parallel_examples.texi: parallel_examples.pod
+ pod2texi --output="$(srcdir)"/parallel_examples.texi "$(srcdir)"/parallel_examples.pod \
+ || echo "Warning: pod2texi not found. Using old parallel_examples.texi"
+
parallel_tutorial.texi: parallel_tutorial.pod
pod2texi --output="$(srcdir)"/parallel_tutorial.texi "$(srcdir)"/parallel_tutorial.pod \
|| echo "Warning: pod2texi not found. Using old parallel_tutorial.texi"
@@ -253,6 +274,10 @@
./pod2rst-fix < "$(srcdir)"/env_parallel.pod > "$(srcdir)"/env_parallel.rst \
|| echo "Warning: pod2rst not found. Using old env_parallel.rst"
+parallel_examples.rst: parallel_examples.pod
+ ./pod2rst-fix < "$(srcdir)"/parallel_examples.pod > "$(srcdir)"/parallel_examples.rst \
+ || echo "Warning: pod2rst not found. Using old parallel_examples.rst"
+
parallel_tutorial.rst: parallel_tutorial.pod
./pod2rst-fix < "$(srcdir)"/parallel_tutorial.pod > "$(srcdir)"/parallel_tutorial.rst \
|| echo "Warning: pod2rst not found. Using old parallel_tutorial.rst"
@@ -301,6 +326,10 @@
pod2pdf --output-file "$(srcdir)"/env_parallel.pdf "$(srcdir)"/env_parallel.pod --title "GNU Parallel with environment" \
|| echo "Warning: pod2pdf not found. Using old env_parallel.pdf"
+parallel_examples.pdf: parallel_examples.pod
+ pod2pdf --output-file "$(srcdir)"/parallel_examples.pdf "$(srcdir)"/parallel_examples.pod --title "GNU Parallel Examples" \
+ || echo "Warning: pod2pdf not found. Using old parallel_examples.pdf"
+
parallel_tutorial.pdf: parallel_tutorial.pod
pod2pdf --output-file "$(srcdir)"/parallel_tutorial.pdf "$(srcdir)"/parallel_tutorial.pod --title "GNU Parallel Tutorial" \
|| echo "Warning: pod2pdf not found. Using old parallel_tutorial.pdf"
@@ -353,23 +382,28 @@
ln -fs parallel sem
DISTCLEANFILES = parallel.1 env_parallel.1 sem.1 sql.1 niceload.1 \
- parallel_tutorial.7 parallel_book.7 parallel_design.7 \
- parallel_alternatives.7 parcat.1 parset.1 parsort.1 \
+ parallel_examples.7 parallel_tutorial.7 parallel_book.7 \
+ parallel_design.7 parallel_alternatives.7 parcat.1 parset.1 \
+ parsort.1 \
parallel.html env_parallel.html sem.html sql.html \
- niceload.html parallel_tutorial.html parallel_book.html \
- parallel_design.html parallel_alternatives.html parcat.html \
- parset.html parsort.html parallel.texi env_parallel.texi \
- sem.texi sql.texi niceload.texi parallel_tutorial.texi \
+ niceload.html parallel_examples.html parallel_tutorial.html \
+ parallel_book.html parallel_design.html \
+ parallel_alternatives.html parcat.html parset.html \
+ parsort.html \
+ parallel.texi env_parallel.texi sem.texi sql.texi \
+ niceload.texi parallel_examples.texi parallel_tutorial.texi \
parallel_book.texi parallel_design.texi \
parallel_alternatives.texi parcat.texi parset.texi \
parsort.texi \
parallel.rst env_parallel.rst sem.rst sql.rst niceload.rst \
- parallel_tutorial.rst parallel_book.rst parallel_design.rst \
- parallel_alternatives.rst parcat.rst parset.rst parsort.rst \
+ parallel_examples.rst parallel_tutorial.rst parallel_book.rst \
+ parallel_design.rst parallel_alternatives.rst parcat.rst \
+ parset.rst parsort.rst \
parallel.pdf env_parallel.pdf sem.pdf sql.pdf niceload.pdf \
- parallel_tutorial.pdf parallel_book.pdf parallel_design.pdf \
- parallel_alternatives.pdf parcat.pdf parset.pdf parsort.pdf \
- parallel_cheat_bw.pdf parallel_options_map.pdf
+ parallel_examples.pdf parallel_tutorial.pdf parallel_book.pdf \
+ parallel_design.pdf parallel_alternatives.pdf parcat.pdf \
+ parset.pdf parsort.pdf parallel_cheat_bw.pdf \
+ parallel_options_map.pdf
EXTRA_DIST = parallel sem sql niceload parcat parset parsort \
env_parallel env_parallel.ash env_parallel.bash \
@@ -377,6 +411,6 @@
env_parallel.ksh env_parallel.mksh env_parallel.pdksh \
env_parallel.sh env_parallel.tcsh env_parallel.zsh parcat.pod \
parset.pod sem.pod parallel.pod env_parallel.pod niceload.pod \
- parallel_tutorial.pod parallel_book.pod parallel_design.pod \
- parallel_alternatives.pod parallel_cheat_bw.fodt \
- pod2graph $(DISTCLEANFILES)
+ parallel_examples.pod parallel_tutorial.pod parallel_book.pod \
+ parallel_design.pod parallel_alternatives.pod \
+ parallel_cheat_bw.fodt pod2graph $(DISTCLEANFILES)
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20220922+git1.tar.bz2/upstream/src/env_parallel.ash
^
|
@@ -395,7 +395,7 @@
fi
if [ "$_parset_NAME" = "--version" ] ; then
# shellcheck disable=SC2006
- echo "parset 20220822 (GNU parallel `parallel --minversion 1`)"
+ echo "parset 20220922 (GNU parallel `parallel --minversion 1`)"
echo "Copyright (C) 2007-2022 Ole Tange, http://ole.tange.dk and Free Software"
echo "Foundation, Inc."
echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>"
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20220922+git1.tar.bz2/upstream/src/env_parallel.bash
^
|
@@ -397,7 +397,7 @@
fi
if [ "$_parset_NAME" = "--version" ] ; then
# shellcheck disable=SC2006
- echo "parset 20220822 (GNU parallel `parallel --minversion 1`)"
+ echo "parset 20220922 (GNU parallel `parallel --minversion 1`)"
echo "Copyright (C) 2007-2022 Ole Tange, http://ole.tange.dk and Free Software"
echo "Foundation, Inc."
echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>"
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20220922+git1.tar.bz2/upstream/src/env_parallel.dash
^
|
@@ -395,7 +395,7 @@
fi
if [ "$_parset_NAME" = "--version" ] ; then
# shellcheck disable=SC2006
- echo "parset 20220822 (GNU parallel `parallel --minversion 1`)"
+ echo "parset 20220922 (GNU parallel `parallel --minversion 1`)"
echo "Copyright (C) 2007-2022 Ole Tange, http://ole.tange.dk and Free Software"
echo "Foundation, Inc."
echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>"
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20220922+git1.tar.bz2/upstream/src/env_parallel.ksh
^
|
@@ -378,7 +378,7 @@
fi
if [ "$_parset_NAME" = "--version" ] ; then
# shellcheck disable=SC2006
- echo "parset 20220822 (GNU parallel `parallel --minversion 1`)"
+ echo "parset 20220922 (GNU parallel `parallel --minversion 1`)"
echo "Copyright (C) 2007-2022 Ole Tange, http://ole.tange.dk and Free Software"
echo "Foundation, Inc."
echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>"
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20220922+git1.tar.bz2/upstream/src/env_parallel.mksh
^
|
@@ -380,7 +380,7 @@
fi
if [ "$_parset_NAME" = "--version" ] ; then
# shellcheck disable=SC2006
- echo "parset 20220822 (GNU parallel `parallel --minversion 1`)"
+ echo "parset 20220922 (GNU parallel `parallel --minversion 1`)"
echo "Copyright (C) 2007-2022 Ole Tange, http://ole.tange.dk and Free Software"
echo "Foundation, Inc."
echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>"
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20220922+git1.tar.bz2/upstream/src/env_parallel.sh
^
|
@@ -395,7 +395,7 @@
fi
if [ "$_parset_NAME" = "--version" ] ; then
# shellcheck disable=SC2006
- echo "parset 20220822 (GNU parallel `parallel --minversion 1`)"
+ echo "parset 20220922 (GNU parallel `parallel --minversion 1`)"
echo "Copyright (C) 2007-2022 Ole Tange, http://ole.tange.dk and Free Software"
echo "Foundation, Inc."
echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>"
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20220922+git1.tar.bz2/upstream/src/env_parallel.zsh
^
|
@@ -370,7 +370,7 @@
fi
if [ "$_parset_NAME" = "--version" ] ; then
# shellcheck disable=SC2006
- echo "parset 20220822 (GNU parallel `parallel --minversion 1`)"
+ echo "parset 20220922 (GNU parallel `parallel --minversion 1`)"
echo "Copyright (C) 2007-2022 Ole Tange, http://ole.tange.dk and Free Software"
echo "Foundation, Inc."
echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>"
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20220922+git1.tar.bz2/upstream/src/niceload
^
|
@@ -26,7 +26,7 @@
use strict;
use Getopt::Long;
$Global::progname="niceload";
-$Global::version = 20220822;
+$Global::version = 20220922;
Getopt::Long::Configure("bundling","require_order");
get_options_from_array(\@ARGV) || die_usage();
if($opt::version) {
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20220922+git1.tar.bz2/upstream/src/parallel
^
|
@@ -2556,7 +2556,7 @@
# If you want GNU Parallel to be maintained in the future you
# should keep this line.
citation_notice();
- # _YOU_ will be harming free software by removing the notice. You
+ # _YOU_ will be harming free software by removing the notice. You
# accept to be added to a public hall of shame by removing the
# line. This is because _YOU_ actively make it harder to justify
# spending time developing GNU Parallel.
@@ -2607,6 +2607,7 @@
if($opt::sqlworker and not $opt::sqlmaster) {
$Global::max_number_of_args = 1;
}
+ if($Global::color or $opt::colorfailed) { Job::init_color(); }
}
sub check_invalid_option_combinations() {
@@ -2681,7 +2682,7 @@
sub init_globals() {
# Defaults:
- $Global::version = 20220822;
+ $Global::version = 20220922;
$Global::progname = 'parallel';
$::name = "GNU Parallel";
$Global::infinity = 2**31;
@@ -2838,6 +2839,7 @@
$ENV{'PARALLEL_HOME'}, $ENV{'XDG_CACHE_HOME'}."/parallel");
$Global::cache_dir = $Global::cache_dirs[0] ||
$ENV{'HOME'} . "/.parallel";
+ Job::init_color();
}
sub parse_halt() {
@@ -4863,10 +4865,10 @@
defined $nthreads or ::die_bug("nthreads missing: $string");
defined $time_to_login or ::die_bug("time_to_login missing: $string");
defined $maxlen or ::die_bug("maxlen missing: $string");
- # ncpus may be set by 4/hostname
- my $ncpus = $sshlogin->ncpus();
+ # ncpus may be set by 4/hostname or may be undefined yet
+ my $ncpus = $sshlogin->{'ncpus'};
# $nthreads may be 0 if GNU Parallel is not installed remotely
- $ncpus = $nthreads || $ncpus;
+ $ncpus = $nthreads || $ncpus || $sshlogin->ncpus();
if($opt::use_cpus_instead_of_cores) {
$ncpus = $ncores || $ncpus;
} elsif($opt::use_sockets_instead_of_threads) {
@@ -4921,7 +4923,7 @@
}
# Get server from: eval true server\;
$col[8] =~ /eval .?true.?\s([^\;]+);/ or
- ::die_bug("col8 does not contain host: $col[8]");
+ ::die_bug("col8 does not contain host: $col[8] in $_");
my $host = $1;
$host =~ tr/\\//d;
$Global::host{$host} or next;
@@ -5004,12 +5006,9 @@
# Return $default_value if command fails
my $sshlogin = shift;
my $command = shift;
- my $default_value = shift;
- # wrapper that returns $default_value if the command fails:
- # bug #57886: Errors when using different version on remote
- # perl -e '$a=`$command`; print $? ? "$default_value" : $a'
- my $wcmd = q(perl -e '$a=`).$command.q(`;).
- q(print $? ? ").::pQ($default_value."\n").q(" : $a');
+ # wrapper that returns output "0\n" if the command fails
+ # E.g. parallel not installed => "0\n"
+ my $wcmd = q(perl -e '$a=`).$command.q(`; print $? ? "0".v010 : $a');
my $commandline = CommandLine->new(1,[$wcmd],{},0,0,[],[],[],[],{},{});
my $job = Job->new($commandline);
$job->set_sshlogin($sshlogin);
@@ -5022,14 +5021,14 @@
if($host eq ":") { next }
# The 'true' is used to get the $host out later
push(@sockets, $host."\t"."true $host; ".
- sshwrapped($sshlogin,"parallel --number-of-sockets",0)."\n\0");
+ sshwrapped($sshlogin,"parallel --number-of-sockets")."\n\0");
push(@cores, $host."\t"."true $host; ".
- sshwrapped($sshlogin,"parallel --number-of-cores",0)."\n\0");
+ sshwrapped($sshlogin,"parallel --number-of-cores")."\n\0");
push(@threads, $host."\t"."true $host; ".
- sshwrapped($sshlogin,"parallel --number-of-threads",0)."\n\0");
+ sshwrapped($sshlogin,"parallel --number-of-threads")."\n\0");
push(@maxline, $host."\t"."true $host; ".
sshwrapped($sshlogin,
- "parallel --max-line-length-allowed",0)."\n\0");
+ "parallel --max-line-length-allowed")."\n\0");
# 'echo' is used to get the fastest possible ssh login time
push(@echo, $host."\t"."true $host; ".
$sshlogin->wrap("echo $host")."\n\0");
@@ -5563,8 +5562,8 @@
"If you use programs that use GNU Parallel to process data for an article in a",
"scientific publication, please cite:",
"",
- " Tange, O. (2022, August 22). GNU Parallel 20220822 ('Rushdie').",
- " Zenodo. https://doi.org/10.5281/zenodo.7015730",
+ " Tange, O. (2022, September 22). GNU Parallel 20220922 ('Elizabeth').",
+ " Zenodo. https://doi.org/10.5281/zenodo.7105792",
"",
# Before changing these lines, please read
# https://www.gnu.org/software/parallel/parallel_design.html#citation-notice
@@ -5596,8 +5595,8 @@
"If you use programs that use GNU Parallel to process data for an article in a",
"scientific publication, please cite:",
"",
- " Tange, O. (2022, August 22). GNU Parallel 20220822 ('Rushdie').",
- " Zenodo. https://doi.org/10.5281/zenodo.7015730",
+ " Tange, O. (2022, September 22). GNU Parallel 20220922 ('Elizabeth').",
+ " Zenodo. https://doi.org/10.5281/zenodo.7105792",
"",
# Before changing these line, please read
# https://www.gnu.org/software/parallel/parallel_design.html#citation-notice and
@@ -5724,20 +5723,20 @@
"If you use programs that use GNU Parallel to process data for an article in a",
"scientific publication, please cite:",
"",
- "\@software{tange_2022_7015730,",
+ "\@software{tange_2022_7105792,",
" author = {Tange, Ole},",
- " title = {GNU Parallel 20220822 ('Rushdie')},",
- " month = Aug,",
+ " title = {GNU Parallel 20220922 ('Elizabeth')},",
+ " month = Sep,",
" year = 2022,",
" 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.7015730},",
- " url = {https://doi.org/10.5281/zenodo.7015730}",
+ " doi = {10.5281/zenodo.7105792},",
+ " url = {https://doi.org/10.5281/zenodo.7105792}",
"}",
"",
- "(Feel free to use \\nocite{tange_2022_7015730})",
+ "(Feel free to use \\nocite{tange_2022_7105792})",
"",
# Before changing these lines, please read
# https://www.gnu.org/software/parallel/parallel_design.html#citation-notice and
@@ -6894,6 +6893,7 @@
# user[:pass]
if($userpw =~ s/:(.*)//) {
$password = $1;
+ if($password eq "") { $password = $ENV{'SSHPASS'} }
if(not ::which("sshpass")) {
::error("--sshlogin with password requires sshpass installed");
::wait_and_exit(255);
@@ -11401,21 +11401,28 @@
::debug("parset","print $Global::parset");
if($Global::parset eq "assoc") {
+ # Start: (done in parse_parset())
# eval "`echo 'declare -A myassoc; myassoc=(
- # Each:
+ # Each: (done here)
# [$'a\tb']=$'a\tb\tc ddd'
- # End:
+ # End: (done in wait_and_exit())
# )'`"
print '[',::Q($self->{'commandline'}->
replace_placeholders(["\257<\257>"],0,0)),']=';
} elsif($Global::parset eq "array") {
+ # Start: (done in parse_parset())
# eval "`echo 'myassoc=(
- # Each:
+ # Each: (done here)
# $'a\tb\tc ddd'
- # End:
+ # End: (done in wait_and_exit())
# )'`"
} elsif($Global::parset eq "var") {
+ # Start: (done in parse_parset())
+ # <empty>
+ # Each: (done here)
# var=$'a\tb\tc ddd'
+ # End: (done in wait_and_exit())
+ # <empty>
if(not @Global::parset_vars) {
::error("Too few named destination variables");
::wait_and_exit(255);
@@ -11628,36 +11635,38 @@
} @color_combinations;
# clr_eol el = clear to end of line
- $eol = `tput el </dev/tty`;
+ $eol = `sh -c "tput el </dev/tty" 2>/dev/null`;
chomp($eol);
+ if($eol eq "") { $eol = "\033[K"; }
# exit_attribute_mode sgr0 = turn off all attributes
- $reset_color = `tput sgr0 </dev/tty`;
+ $reset_color = `sh -c "tput sgr0 </dev/tty" 2>/dev/null`;
chomp($reset_color);
+ if($reset_color eq "") { $reset_color = "\033[m"; }
}
}
-
+
sub color($) {
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20220922+git1.tar.bz2/upstream/src/parallel.pod
^
|
@@ -81,10 +81,10 @@
=head3 How-to
-You can find a lot of B<EXAMPLE>s of use after the list of
-B<OPTIONS> in B<man parallel> (Use B<LESS=+/EXAMPLE: man parallel>). That will
-give you an idea of what GNU B<parallel> is capable of, and you may
-find a solution you can simply adapt to your situation.
+You can find a lot of examples of use in B<man
+parallel_examples>. They will give you an idea of what GNU B<parallel>
+is capable of, and you may find a solution you can simply adapt to
+your situation.
=head3 Reference
@@ -749,7 +749,7 @@
B<--return>
-=item B<--color> (beta testing)
+=item B<--color> (alpha testing)
Colour output.
@@ -761,9 +761,9 @@
See also: B<--color-failed>
-=item B<--color-failed> (beta testing)
+=item B<--color-failed> (alpha testing)
-=item B<--cf> (beta testing)
+=item B<--cf> (alpha testing)
Colour the output from failing jobs white on red.
@@ -1265,7 +1265,7 @@
=back
-=item B<--header> I<regexp> (alpha testing)
+=item B<--header> I<regexp> (beta testing)
Use regexp as header.
@@ -1591,9 +1591,9 @@
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.
@@ -1934,7 +1934,7 @@
See also: B<--profile>
-=item B<--plus> (alpha testing)
+=item B<--plus> (beta testing)
Add more replacement strings.
@@ -2493,7 +2493,7 @@
See also: B<--term-seq> B<--sshlogin>
-=item B<--return> I<filename> (alpha testing)
+=item B<--return> I<filename> (beta testing)
Transfer files from remote computers.
@@ -2868,7 +2868,7 @@
See also: B<--shebang>
-=item B<--shell-completion> I<shell> (beta testing)
+=item B<--shell-completion> I<shell>
Generate shell completion code for interactive shells.
@@ -3328,7 +3328,7 @@
See also: B<-v> B<--interactive>
-=item B<--transfer> (alpha testing)
+=item B<--transfer> (beta testing)
Transfer files to remote computers.
@@ -3337,9 +3337,9 @@
See also: B<--transferfile>.
-=item B<--transferfile> I<filename> (alpha testing)
+=item B<--transferfile> I<filename> (beta testing)
-=item B<--tf> I<filename> (alpha testing)
+=item B<--tf> I<filename> (beta testing)
Transfer I<filename> to remote computers.
@@ -3391,7 +3391,7 @@
B<--cleanup>
-=item B<--trc> I<filename> (alpha testing)
+=item B<--trc> I<filename> (beta testing)
Transfer, Return, Cleanup. Shorthand for: B<--transfer> B<--return>
I<filename> B<--cleanup>
@@ -3617,1838 +3617,10 @@
=back
-=head1 EXAMPLES
-
-=head2 EXAMPLE: Working as xargs -n1. Argument appending
-
-GNU B<parallel> can work similar to B<xargs -n1>.
-
-To compress all html files using B<gzip> run:
-
- find . -name '*.html' | parallel gzip --best
-
-If the file names may contain a newline use B<-0>. Substitute FOO BAR with
-FUBAR in all files in this dir and subdirs:
-
- find . -type f -print0 | \
- parallel -q0 perl -i -pe 's/FOO BAR/FUBAR/g'
-
-Note B<-q> is needed because of the space in 'FOO BAR'.
-
-
-=head2 EXAMPLE: Simple network scanner
-
-B<prips> can generate IP-addresses from CIDR notation. With GNU
-B<parallel> you can build a simple network scanner to see which
-addresses respond to B<ping>:
-
- prips 130.229.16.0/20 | \
- parallel --timeout 2 -j0 \
- 'ping -c 1 {} >/dev/null && echo {}' 2>/dev/null
-
-
-=head2 EXAMPLE: Reading arguments from command line
-
-GNU B<parallel> can take the arguments from command line instead of
-stdin (standard input). To compress all html files in the current dir
-using B<gzip> run:
-
- parallel gzip --best ::: *.html
-
-To convert *.wav to *.mp3 using LAME running one process per CPU run:
-
- parallel lame {} -o {.}.mp3 ::: *.wav
-
-
-=head2 EXAMPLE: Inserting multiple arguments
-
-When moving a lot of files like this: B<mv *.log destdir> you will
-sometimes get the error:
-
- bash: /bin/mv: Argument list too long
-
-because there are too many files. You can instead do:
-
- ls | grep -E '\.log$' | parallel mv {} destdir
-
-This will run B<mv> for each file. It can be done faster if B<mv> gets
-as many arguments that will fit on the line:
-
- ls | grep -E '\.log$' | parallel -m mv {} destdir
-
-In many shells you can also use B<printf>:
-
- printf '%s\0' *.log | parallel -0 -m mv {} destdir
-
-
-=head2 EXAMPLE: Context replace
-
-To remove the files I<pict0000.jpg> .. I<pict9999.jpg> you could do:
-
- seq -w 0 9999 | parallel rm pict{}.jpg
-
-You could also do:
-
- seq -w 0 9999 | perl -pe 's/(.*)/pict$1.jpg/' | parallel -m rm
-
-The first will run B<rm> 10000 times, while the last will only run
-B<rm> as many times needed to keep the command line length short
-enough to avoid B<Argument list too long> (it typically runs 1-2 times).
-
-You could also run:
-
- seq -w 0 9999 | parallel -X rm pict{}.jpg
-
|
[-]
[+]
|
Added |
_service:tar_git:parallel-20220922+git1.tar.bz2/upstream/src/parallel_examples.pod
^
|
@@ -0,0 +1,1990 @@
+#!/usr/bin/perl -w
+
+# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
+# SPDX-License-Identifier: GFDL-1.3-or-later
+# SPDX-License-Identifier: CC-BY-SA-4.0
+
+=encoding utf8
+
+=head1 GNU PARALLEL EXAMPLES
+
+=head2 EXAMPLE: Working as xargs -n1. Argument appending
+
+GNU B<parallel> can work similar to B<xargs -n1>.
+
+To compress all html files using B<gzip> run:
+
+ find . -name '*.html' | parallel gzip --best
+
+If the file names may contain a newline use B<-0>. Substitute FOO BAR with
+FUBAR in all files in this dir and subdirs:
+
+ find . -type f -print0 | \
+ parallel -q0 perl -i -pe 's/FOO BAR/FUBAR/g'
+
+Note B<-q> is needed because of the space in 'FOO BAR'.
+
+
+=head2 EXAMPLE: Simple network scanner
+
+B<prips> can generate IP-addresses from CIDR notation. With GNU
+B<parallel> you can build a simple network scanner to see which
+addresses respond to B<ping>:
+
+ prips 130.229.16.0/20 | \
+ parallel --timeout 2 -j0 \
+ 'ping -c 1 {} >/dev/null && echo {}' 2>/dev/null
+
+
+=head2 EXAMPLE: Reading arguments from command line
+
+GNU B<parallel> can take the arguments from command line instead of
+stdin (standard input). To compress all html files in the current dir
+using B<gzip> run:
+
+ parallel gzip --best ::: *.html
+
+To convert *.wav to *.mp3 using LAME running one process per CPU run:
+
+ parallel lame {} -o {.}.mp3 ::: *.wav
+
+
+=head2 EXAMPLE: Inserting multiple arguments
+
+When moving a lot of files like this: B<mv *.log destdir> you will
+sometimes get the error:
+
+ bash: /bin/mv: Argument list too long
+
+because there are too many files. You can instead do:
+
+ ls | grep -E '\.log$' | parallel mv {} destdir
+
+This will run B<mv> for each file. It can be done faster if B<mv> gets
+as many arguments that will fit on the line:
+
+ ls | grep -E '\.log$' | parallel -m mv {} destdir
+
+In many shells you can also use B<printf>:
+
+ printf '%s\0' *.log | parallel -0 -m mv {} destdir
+
+
+=head2 EXAMPLE: Context replace
+
+To remove the files I<pict0000.jpg> .. I<pict9999.jpg> you could do:
+
+ seq -w 0 9999 | parallel rm pict{}.jpg
+
+You could also do:
+
+ seq -w 0 9999 | perl -pe 's/(.*)/pict$1.jpg/' | parallel -m rm
+
+The first will run B<rm> 10000 times, while the last will only run
+B<rm> as many times needed to keep the command line length short
+enough to avoid B<Argument list too long> (it typically runs 1-2 times).
+
+You could also run:
+
+ seq -w 0 9999 | parallel -X rm pict{}.jpg
+
+This will also only run B<rm> as many times needed to keep the command
+line length short enough.
+
+
+=head2 EXAMPLE: Compute intensive jobs and substitution
+
+If ImageMagick is installed this will generate a thumbnail of a jpg
+file:
+
+ convert -geometry 120 foo.jpg thumb_foo.jpg
+
+This will run with number-of-cpus jobs in parallel for all jpg files
+in a directory:
+
+ ls *.jpg | parallel convert -geometry 120 {} thumb_{}
+
+To do it recursively use B<find>:
+
+ find . -name '*.jpg' | \
+ parallel convert -geometry 120 {} {}_thumb.jpg
+
+Notice how the argument has to start with B<{}> as B<{}> will include path
+(e.g. running B<convert -geometry 120 ./foo/bar.jpg
+thumb_./foo/bar.jpg> would clearly be wrong). The command will
+generate files like ./foo/bar.jpg_thumb.jpg.
+
+Use B<{.}> to avoid the extra .jpg in the file name. This command will
+make files like ./foo/bar_thumb.jpg:
+
+ find . -name '*.jpg' | \
+ parallel convert -geometry 120 {} {.}_thumb.jpg
+
+
+=head2 EXAMPLE: Substitution and redirection
+
+This will generate an uncompressed version of .gz-files next to the .gz-file:
+
+ parallel zcat {} ">"{.} ::: *.gz
+
+Quoting of > is necessary to postpone the redirection. Another
+solution is to quote the whole command:
+
+ parallel "zcat {} >{.}" ::: *.gz
+
+Other special shell characters (such as * ; $ > < | >> <<) also need
+to be put in quotes, as they may otherwise be interpreted by the shell
+and not given to GNU B<parallel>.
+
+
+=head2 EXAMPLE: Composed commands
+
+A job can consist of several commands. This will print the number of
+files in each directory:
+
+ ls | parallel 'echo -n {}" "; ls {}|wc -l'
+
+To put the output in a file called <name>.dir:
+
+ ls | parallel '(echo -n {}" "; ls {}|wc -l) >{}.dir'
+
+Even small shell scripts can be run by GNU B<parallel>:
+
+ find . | parallel 'a={}; name=${a##*/};' \
+ 'upper=$(echo "$name" | tr "[:lower:]" "[:upper:]");'\
+ 'echo "$name - $upper"'
+
+ ls | parallel 'mv {} "$(echo {} | tr "[:upper:]" "[:lower:]")"'
+
+Given a list of URLs, list all URLs that fail to download. Print the
+line number and the URL.
+
+ cat urlfile | parallel "wget {} 2>/dev/null || grep -n {} urlfile"
+
+Create a mirror directory with the same filenames except all files and
+symlinks are empty files.
+
+ cp -rs /the/source/dir mirror_dir
+ find mirror_dir -type l | parallel -m rm {} '&&' touch {}
+
+Find the files in a list that do not exist
+
+ cat file_list | parallel 'if [ ! -e {} ] ; then echo {}; fi'
+
+
+=head2 EXAMPLE: Composed command with perl replacement string
+
+You have a bunch of file. You want them sorted into dirs. The dir of
+each file should be named the first letter of the file name.
+
+ parallel 'mkdir -p {=s/(.).*/$1/=}; mv {} {=s/(.).*/$1/=}' ::: *
+
+
+=head2 EXAMPLE: Composed command with multiple input sources
+
+You have a dir with files named as 24 hours in 5 minute intervals:
+00:00, 00:05, 00:10 .. 23:55. You want to find the files missing:
+
+ parallel [ -f {1}:{2} ] "||" echo {1}:{2} does not exist \
+ ::: {00..23} ::: {00..55..5}
+
+
+=head2 EXAMPLE: Calling Bash functions
+
+If the composed command is longer than a line, it becomes hard to
+read. In Bash you can use functions. Just remember to B<export -f> the
+function.
+
+ doit() {
+ echo Doing it for $1
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20220922+git1.tar.bz2/upstream/src/parsort
^
|
@@ -122,7 +122,7 @@
"help" => \$opt::dummy,
) || exit(255);
$Global::progname = ($0 =~ m:(^|/)([^/]+)$:)[1];
-$Global::version = 20220822;
+$Global::version = 20220922;
if($opt::version) { version(); exit 0; }
@Global::sortoptions = grep { ! /^-D$/ }
shell_quote(@ARGV_before[0..($#ARGV_before-$#ARGV-1)]);
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20220922+git1.tar.bz2/upstream/src/pod2graph
^
|
@@ -30,8 +30,11 @@
# to a graph.pdf with link between --option and --other-option
$pod=join("",<>);
+# Remove stuff before OPTIONS
$pod=~s/^.*=head1 OPTIONS//s;
+# Remove from EXAMPLES (which is next section) and till end
$pod=~s/=head1 EXAMPLES.*//s;
+# Remove =over / =back pairs
$pod=~s/^.*?=over//s;
$pod=~s/=back\s*$//s;
$pod=~s/=over.*?=back//sg;
@@ -40,19 +43,21 @@
$in_item = 0;
$in_see_also = 0;
-
for(split(/\n\n+/,$pod)) {
if(/^See also:\s+(\S.*)/s) {
+ # "See also" paragraph
$lex = "seealso";
$in_text = 0;
$in_item = 0;
$in_see_only = 1;
} elsif(/^=item\s+(B<[{]=.*?perl expression.*?=[}]>|[IB]<.*?>)(\s|$)/s) {
+ # "=item" paragraph
$lex = "item";
$in_text = 0;
$in_item = 1;
$in_see_only = 0;
} elsif(/\S/) {
+ # else it is just text
$lex = "text";
$in_text = 1;
$in_item = 0;
@@ -60,11 +65,13 @@
}
if($lex eq "seealso") {
+ # We found "See also": output edge
if($lastlex eq "item") {
@saveditems = @items;
@items = ();
}
my $to = $1;
+ # Edge from = item/item/item
my $from = (join "/",
map {
s/I<(.*?)>/$1/g;
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20220922+git1.tar.bz2/upstream/src/sem.pod
^
|
@@ -116,7 +116,7 @@
10.
-=item B<--pipe> (beta testing)
+=item B<--pipe>
Pass stdin (standard input) to I<command>.
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20220922+git1.tar.bz2/upstream/src/sphinx/source/sphinx.rst
^
|
@@ -18,6 +18,12 @@
.. toctree::
:maxdepth: 3
+ :caption: parallel_examples
+
+ parallel_examples
+
+.. toctree::
+ :maxdepth: 3
:caption: sem
sem
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20220922+git1.tar.bz2/upstream/src/sql
^
|
@@ -76,7 +76,7 @@
Example: echo 'SELECT * FROM foo;' | sql mysql:///
-=item B<--csv> (alpha testing)
+=item B<--csv> (beta testing)
CSV output.
@@ -102,9 +102,9 @@
HTML output. Turn on HTML tabular output.
-=item B<--json> (alpha testing)
+=item B<--json> (beta testing)
-=item B<--pretty> (alpha testing)
+=item B<--pretty> (beta testing)
Pretty JSON output.
@@ -667,7 +667,7 @@
exit ($err);
sub parse_options {
- $Global::version = 20220822;
+ $Global::version = 20220922;
$Global::progname = 'sql';
# This must be done first as this may exec myself
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20220922+git1.tar.bz2/upstream/testsuite/tests-to-run/parallel-local-ssh1.sh
^
|
@@ -30,6 +30,8 @@
echo '### sshpass'
echo OK | parallel -S "sshpass -p $withpassword ssh withpassword@lo:22" echo
echo OK | parallel -S withpassword:"$withpassword"@lo:22 echo
+ export SSHPASS="$withpassword"
+ echo OK | parallel -S withpassword:@lo:22 echo
}
par_ssh_ssh() {
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20220922+git1.tar.bz2/upstream/testsuite/wanted-results/parallel-local-0.3s
^
|
@@ -65,15 +65,15 @@
par_blocking_redir stdout
par_blocking_redir stdout
par_colour_failed --colour-failed --colour
-par_colour_failed seq 1;exit 0(B[m
-par_colour_failed 1(B[m
+par_colour_failed seq 1;exit 0
+par_colour_failed 1
par_colour_failed [48;5;196;38;5;231m[Kseq 1;exit 1(B[m
par_colour_failed [48;5;196;38;5;231m[K1(B[m
par_colour_failed [48;5;196;38;5;231m[Kseq 1;exit 2(B[m
par_colour_failed [48;5;196;38;5;231m[K1(B[m
-par_colour_failed seq 2;exit 0(B[m
-par_colour_failed 1(B[m
-par_colour_failed 2(B[m
+par_colour_failed seq 2;exit 0
+par_colour_failed 1
+par_colour_failed 2
par_colour_failed [48;5;196;38;5;231m[Kseq 2;exit 1(B[m
par_colour_failed [48;5;196;38;5;231m[K1(B[m
par_colour_failed [48;5;196;38;5;231m[K2(B[m
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20220922+git1.tar.bz2/upstream/testsuite/wanted-results/parallel-local-300s
^
|
@@ -223,12 +223,12 @@
par_test_build_and_install ln -s parallel "/tmp/parallel-install/bin"/sem
par_test_build_and_install make[0]: Leaving directory '/tmp/parallel-00000000/src'
par_test_build_and_install /bin/mkdir -p '/tmp/parallel-install/share/doc/parallel'
-par_test_build_and_install /bin/install -c -m 644 parallel.html env_parallel.html sem.html sql.html niceload.html parallel_tutorial.html parallel_book.html parallel_design.html parallel_alternatives.html parcat.html parset.html parsort.html parallel.texi env_parallel.texi sem.texi sql.texi niceload.texi parallel_tutorial.texi parallel_book.texi parallel_design.texi parallel_alternatives.texi parcat.texi parset.texi parsort.texi parallel.rst env_parallel.rst sem.rst sql.rst niceload.rst parallel_tutorial.rst parallel_book.rst parallel_design.rst parallel_alternatives.rst parcat.rst parset.rst parsort.rst parallel.pdf env_parallel.pdf sem.pdf sql.pdf '/tmp/parallel-install/share/doc/parallel'
-par_test_build_and_install /bin/install -c -m 644 niceload.pdf parallel_tutorial.pdf parallel_book.pdf parallel_design.pdf parallel_alternatives.pdf parcat.pdf parset.pdf parsort.pdf parallel_cheat_bw.pdf parallel_options_map.pdf '/tmp/parallel-install/share/doc/parallel'
+par_test_build_and_install /bin/install -c -m 644 parallel.html env_parallel.html sem.html sql.html niceload.html parallel_examples.html parallel_tutorial.html parallel_book.html parallel_design.html parallel_alternatives.html parcat.html parset.html parsort.html parallel.texi env_parallel.texi sem.texi sql.texi niceload.texi parallel_examples.texi parallel_tutorial.texi parallel_book.texi parallel_design.texi parallel_alternatives.texi parcat.texi parset.texi parsort.texi parallel.rst env_parallel.rst sem.rst sql.rst niceload.rst parallel_examples.rst parallel_tutorial.rst parallel_book.rst parallel_design.rst parallel_alternatives.rst parcat.rst parset.rst parsort.rst parallel.pdf '/tmp/parallel-install/share/doc/parallel'
+par_test_build_and_install /bin/install -c -m 644 env_parallel.pdf sem.pdf sql.pdf niceload.pdf parallel_examples.pdf parallel_tutorial.pdf parallel_book.pdf parallel_design.pdf parallel_alternatives.pdf parcat.pdf parset.pdf parsort.pdf parallel_cheat_bw.pdf parallel_options_map.pdf '/tmp/parallel-install/share/doc/parallel'
par_test_build_and_install /bin/mkdir -p '/tmp/parallel-install/share/man/man1'
par_test_build_and_install /bin/install -c -m 644 parallel.1 env_parallel.1 sem.1 sql.1 niceload.1 parcat.1 parset.1 parsort.1 '/tmp/parallel-install/share/man/man1'
par_test_build_and_install /bin/mkdir -p '/tmp/parallel-install/share/man/man7'
-par_test_build_and_install /bin/install -c -m 644 parallel_tutorial.7 parallel_book.7 parallel_design.7 parallel_alternatives.7 '/tmp/parallel-install/share/man/man7'
+par_test_build_and_install /bin/install -c -m 644 parallel_examples.7 parallel_tutorial.7 parallel_book.7 parallel_design.7 parallel_alternatives.7 '/tmp/parallel-install/share/man/man7'
par_test_build_and_install make[0]: Leaving directory '/tmp/parallel-00000000/src'
par_test_build_and_install make[0]: Leaving directory '/tmp/parallel-00000000/src'
par_test_build_and_install make[0]: Entering directory '/tmp/parallel-00000000'
@@ -294,6 +294,12 @@
par_test_build_and_install /bin/bash: line 1: pod2man: command not found
par_test_build_and_install Warning: pod2man not found. Using old niceload.1
par_test_build_and_install pod2man --release='00000000' --center='parallel' \
+par_test_build_and_install --section=7 "."/parallel_examples.pod > "."/parallel_examples.7n \
+par_test_build_and_install && mv "."/parallel_examples.7n "."/parallel_examples.7 \
+par_test_build_and_install || echo "Warning: pod2man not found. Using old parallel_examples.7"
+par_test_build_and_install /bin/bash: line 1: pod2man: command not found
+par_test_build_and_install Warning: pod2man not found. Using old parallel_examples.7
+par_test_build_and_install pod2man --release='00000000' --center='parallel' \
par_test_build_and_install --section=7 "."/parallel_tutorial.pod > "."/parallel_tutorial.7n \
par_test_build_and_install && mv "."/parallel_tutorial.7n "."/parallel_tutorial.7 \
par_test_build_and_install || echo "Warning: pod2man not found. Using old parallel_tutorial.7"
@@ -383,6 +389,12 @@
par_test_build_and_install /bin/bash: line 1: pod2html: command not found
par_test_build_and_install Warning: pod2html not found. Using old niceload.html
par_test_build_and_install rm -f "."/pod2htm*
+par_test_build_and_install pod2html --title "GNU Parallel examples" "."/parallel_examples.pod > "."/parallel_examples.htmln \
+par_test_build_and_install && mv "."/parallel_examples.htmln "."/parallel_examples.html \
+par_test_build_and_install || echo "Warning: pod2html not found. Using old parallel_examples.html"
+par_test_build_and_install /bin/bash: line 1: pod2html: command not found
+par_test_build_and_install Warning: pod2html not found. Using old parallel_examples.html
+par_test_build_and_install rm -f "."/pod2htm*
par_test_build_and_install pod2html --title "GNU parcat" "."/parcat.pod > "."/parcat.htmln \
par_test_build_and_install && mv "."/parcat.htmln "."/parcat.html \
par_test_build_and_install || echo "Warning: pod2html not found. Using old parcat.html"
@@ -415,6 +427,10 @@
par_test_build_and_install || echo "Warning: pod2texi not found. Using old niceload.texi"
par_test_build_and_install /bin/bash: line 1: pod2texi: command not found
par_test_build_and_install Warning: pod2texi not found. Using old niceload.texi
+par_test_build_and_install pod2texi --output="."/parallel_examples.texi "."/parallel_examples.pod \
+par_test_build_and_install || echo "Warning: pod2texi not found. Using old parallel_examples.texi"
+par_test_build_and_install /bin/bash: line 1: pod2texi: command not found
+par_test_build_and_install Warning: pod2texi not found. Using old parallel_examples.texi
par_test_build_and_install pod2texi --output="."/parallel_tutorial.texi "."/parallel_tutorial.pod \
par_test_build_and_install || echo "Warning: pod2texi not found. Using old parallel_tutorial.texi"
par_test_build_and_install /bin/bash: line 1: pod2texi: command not found
@@ -459,6 +475,10 @@
par_test_build_and_install || echo "Warning: pod2pdf not found. Using old niceload.pdf"
par_test_build_and_install /bin/bash: line 1: pod2pdf: command not found
par_test_build_and_install Warning: pod2pdf not found. Using old niceload.pdf
+par_test_build_and_install pod2pdf --output-file "."/parallel_examples.pdf "."/parallel_examples.pod --title "GNU Parallel Examples" \
+par_test_build_and_install || echo "Warning: pod2pdf not found. Using old parallel_examples.pdf"
+par_test_build_and_install /bin/bash: line 1: pod2pdf: command not found
+par_test_build_and_install Warning: pod2pdf not found. Using old parallel_examples.pdf
par_test_build_and_install pod2pdf --output-file "."/parallel_tutorial.pdf "."/parallel_tutorial.pod --title "GNU Parallel Tutorial" \
par_test_build_and_install || echo "Warning: pod2pdf not found. Using old parallel_tutorial.pdf"
par_test_build_and_install /bin/bash: line 1: pod2pdf: command not found
@@ -545,6 +565,12 @@
par_test_build_and_install /bin/bash: line 1: pod2html: command not found
par_test_build_and_install Warning: pod2html not found. Using old niceload.html
par_test_build_and_install rm -f "."/pod2htm*
+par_test_build_and_install pod2html --title "GNU Parallel examples" "."/parallel_examples.pod > "."/parallel_examples.htmln \
+par_test_build_and_install && mv "."/parallel_examples.htmln "."/parallel_examples.html \
+par_test_build_and_install || echo "Warning: pod2html not found. Using old parallel_examples.html"
+par_test_build_and_install /bin/bash: line 1: pod2html: command not found
+par_test_build_and_install Warning: pod2html not found. Using old parallel_examples.html
+par_test_build_and_install rm -f "."/pod2htm*
par_test_build_and_install pod2html --title "GNU parcat" "."/parcat.pod > "."/parcat.htmln \
par_test_build_and_install && mv "."/parcat.htmln "."/parcat.html \
par_test_build_and_install || echo "Warning: pod2html not found. Using old parcat.html"
@@ -577,6 +603,10 @@
par_test_build_and_install || echo "Warning: pod2texi not found. Using old niceload.texi"
par_test_build_and_install /bin/bash: line 1: pod2texi: command not found
par_test_build_and_install Warning: pod2texi not found. Using old niceload.texi
+par_test_build_and_install pod2texi --output="."/parallel_examples.texi "."/parallel_examples.pod \
+par_test_build_and_install || echo "Warning: pod2texi not found. Using old parallel_examples.texi"
+par_test_build_and_install /bin/bash: line 1: pod2texi: command not found
+par_test_build_and_install Warning: pod2texi not found. Using old parallel_examples.texi
par_test_build_and_install pod2texi --output="."/parallel_tutorial.texi "."/parallel_tutorial.pod \
par_test_build_and_install || echo "Warning: pod2texi not found. Using old parallel_tutorial.texi"
par_test_build_and_install /bin/bash: line 1: pod2texi: command not found
@@ -621,6 +651,10 @@
par_test_build_and_install || echo "Warning: pod2pdf not found. Using old niceload.pdf"
par_test_build_and_install /bin/bash: line 1: pod2pdf: command not found
par_test_build_and_install Warning: pod2pdf not found. Using old niceload.pdf
+par_test_build_and_install pod2pdf --output-file "."/parallel_examples.pdf "."/parallel_examples.pod --title "GNU Parallel Examples" \
+par_test_build_and_install || echo "Warning: pod2pdf not found. Using old parallel_examples.pdf"
+par_test_build_and_install /bin/bash: line 1: pod2pdf: command not found
+par_test_build_and_install Warning: pod2pdf not found. Using old parallel_examples.pdf
par_test_build_and_install pod2pdf --output-file "."/parallel_tutorial.pdf "."/parallel_tutorial.pod --title "GNU Parallel Tutorial" \
par_test_build_and_install || echo "Warning: pod2pdf not found. Using old parallel_tutorial.pdf"
par_test_build_and_install /bin/bash: line 1: pod2pdf: command not found
@@ -646,8 +680,8 @@
par_test_build_and_install /bin/bash: line 1: pod2pdf: command not found
par_test_build_and_install Warning: pod2pdf not found. Using old parset.pdf
par_test_build_and_install /bin/mkdir -p '/tmp/parallel-install/share/doc/parallel'
-par_test_build_and_install /bin/install -c -m 644 parallel.html env_parallel.html sem.html sql.html niceload.html parallel_tutorial.html parallel_book.html parallel_design.html parallel_alternatives.html parcat.html parset.html parsort.html parallel.texi env_parallel.texi sem.texi sql.texi niceload.texi parallel_tutorial.texi parallel_book.texi parallel_design.texi parallel_alternatives.texi parcat.texi parset.texi parsort.texi parallel.rst env_parallel.rst sem.rst sql.rst niceload.rst parallel_tutorial.rst parallel_book.rst parallel_design.rst parallel_alternatives.rst parcat.rst parset.rst parsort.rst parallel.pdf env_parallel.pdf sem.pdf sql.pdf '/tmp/parallel-install/share/doc/parallel'
-par_test_build_and_install /bin/install -c -m 644 niceload.pdf parallel_tutorial.pdf parallel_book.pdf parallel_design.pdf parallel_alternatives.pdf parcat.pdf parset.pdf parsort.pdf parallel_cheat_bw.pdf parallel_options_map.pdf '/tmp/parallel-install/share/doc/parallel'
+par_test_build_and_install /bin/install -c -m 644 parallel.html env_parallel.html sem.html sql.html niceload.html parallel_examples.html parallel_tutorial.html parallel_book.html parallel_design.html parallel_alternatives.html parcat.html parset.html parsort.html parallel.texi env_parallel.texi sem.texi sql.texi niceload.texi parallel_examples.texi parallel_tutorial.texi parallel_book.texi parallel_design.texi parallel_alternatives.texi parcat.texi parset.texi parsort.texi parallel.rst env_parallel.rst sem.rst sql.rst niceload.rst parallel_examples.rst parallel_tutorial.rst parallel_book.rst parallel_design.rst parallel_alternatives.rst parcat.rst parset.rst parsort.rst parallel.pdf '/tmp/parallel-install/share/doc/parallel'
+par_test_build_and_install /bin/install -c -m 644 env_parallel.pdf sem.pdf sql.pdf niceload.pdf parallel_examples.pdf parallel_tutorial.pdf parallel_book.pdf parallel_design.pdf parallel_alternatives.pdf parcat.pdf parset.pdf parsort.pdf parallel_cheat_bw.pdf parallel_options_map.pdf '/tmp/parallel-install/share/doc/parallel'
par_test_build_and_install pod2man --release='00000000' --center='parallel' \
par_test_build_and_install --section=1 "."/parallel.pod > "."/parallel.1n \
par_test_build_and_install && mv "."/parallel.1n "."/parallel.1 \
@@ -679,6 +713,12 @@
par_test_build_and_install /bin/bash: line 1: pod2man: command not found
par_test_build_and_install Warning: pod2man not found. Using old niceload.1
par_test_build_and_install pod2man --release='00000000' --center='parallel' \
+par_test_build_and_install --section=7 "."/parallel_examples.pod > "."/parallel_examples.7n \
+par_test_build_and_install && mv "."/parallel_examples.7n "."/parallel_examples.7 \
+par_test_build_and_install || echo "Warning: pod2man not found. Using old parallel_examples.7"
+par_test_build_and_install /bin/bash: line 1: pod2man: command not found
+par_test_build_and_install Warning: pod2man not found. Using old parallel_examples.7
+par_test_build_and_install pod2man --release='00000000' --center='parallel' \
par_test_build_and_install --section=7 "."/parallel_tutorial.pod > "."/parallel_tutorial.7n \
par_test_build_and_install && mv "."/parallel_tutorial.7n "."/parallel_tutorial.7 \
par_test_build_and_install || echo "Warning: pod2man not found. Using old parallel_tutorial.7"
@@ -717,7 +757,7 @@
par_test_build_and_install /bin/mkdir -p '/tmp/parallel-install/share/man/man1'
par_test_build_and_install /bin/install -c -m 644 parallel.1 env_parallel.1 sem.1 sql.1 niceload.1 parcat.1 parset.1 parsort.1 '/tmp/parallel-install/share/man/man1'
par_test_build_and_install /bin/mkdir -p '/tmp/parallel-install/share/man/man7'
-par_test_build_and_install /bin/install -c -m 644 parallel_tutorial.7 parallel_book.7 parallel_design.7 parallel_alternatives.7 '/tmp/parallel-install/share/man/man7'
+par_test_build_and_install /bin/install -c -m 644 parallel_examples.7 parallel_tutorial.7 parallel_book.7 parallel_design.7 parallel_alternatives.7 '/tmp/parallel-install/share/man/man7'
par_test_build_and_install make[0]: Leaving directory '/tmp/parallel-00000000/src'
par_test_build_and_install make[0]: Leaving directory '/tmp/parallel-00000000/src'
par_test_build_and_install make[0]: Entering directory '/tmp/parallel-00000000'
|
[-]
[+]
|
Changed |
_service:tar_git:parallel-20220922+git1.tar.bz2/upstream/testsuite/wanted-results/parallel-local-ssh1
^
|
@@ -100,6 +100,7 @@
par_sshpass_with_password ### sshpass
par_sshpass_with_password OK
par_sshpass_with_password OK
+par_sshpass_with_password OK
par_stop_if_no_hosts_left ### Stop if all hosts are filtered and there are no hosts left to run on
par_stop_if_no_hosts_left parallel: Warning: Removed no-such.host.
par_stop_if_no_hosts_left parallel: Error: Cannot run any jobs.
|