2011-07-28 19:09:27 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2021-03-22 20:16:35 +00:00
|
|
|
# SPDX-FileCopyrightText: 2021 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
2011-07-28 19:09:27 +00:00
|
|
|
# -L1 will join lines ending in ' '
|
2018-09-20 22:15:14 +00:00
|
|
|
cat <<'EOF' | sed -e 's/;$/; /;s/$SERVER1/'$SERVER1'/;s/$SERVER2/'$SERVER2'/' | stdout parallel -vj0 -k --joblog /tmp/jl-`basename $0` -L1 -r
|
2012-11-24 16:33:15 +00:00
|
|
|
|
2015-01-03 17:57:37 +00:00
|
|
|
echo "### test08"
|
2012-11-24 16:33:15 +00:00
|
|
|
cd input-files/test08;
|
2015-01-03 17:57:37 +00:00
|
|
|
ls | parallel -q perl -ne '/_PRE (\d+)/ and $p=$1; /hatchname> (\d+)/ and $1!=$p and print $ARGV,"\n"' | sort
|
2011-07-28 19:09:27 +00:00
|
|
|
EOF
|