diff --git a/NEWS b/NEWS index 5ab9262a..52e2aac6 100644 --- a/NEWS +++ b/NEWS @@ -7,6 +7,9 @@ * sql --dbsize will now list sizes of all databases if given no database. +* GNU Parallel is now in Debian Unstable. + apt-get install parallel + * Article: Computational and experimental analyses of retrotransposon-associated minisatellite DNAs in the soybean genome. http://www.biomedcentral.com/content/supplementary/1471-2105-13-s2-s13-s1.pdf diff --git a/doc/release_new_version b/doc/release_new_version index 48403954..b473fe96 100644 --- a/doc/release_new_version +++ b/doc/release_new_version @@ -113,7 +113,7 @@ pod2html src/niceload.pod > ../parallel-web/parallel/niceload.html pod2html src/sem.pod > ../parallel-web/parallel/sem.html pushd ../parallel-web/parallel cvs up -cvs ci +cvs ci -m "New release" pushd == Commit released version == @@ -171,41 +171,15 @@ cc:Sandro Cazzaniga , Ryoichiro Suzuki , Jesse Alama -Subject: GNU Parallel 20120422 ('Mærsk') released +Subject: GNU Parallel 20120522 ('') released -GNU Parallel 20120422 ('Mærsk') has been released. It is +GNU Parallel 20120522 ('') has been released. It is available for download at: http://ftp.gnu.org/gnu/parallel/ New in this release: -* A race condition bug caused restructuring of a central piece of the - code. Thus this release of GNU Parallel should be considered beta - quality. - -* sql --dbsize will now list sizes of all databases if given no - database. - -* Article: Computational and experimental analyses of - retrotransposon-associated minisatellite DNAs in the soybean genome. - http://www.biomedcentral.com/content/supplementary/1471-2105-13-s2-s13-s1.pdf - -* Blog post: GNU parallel - the best thing since sliced bread. - https://arrayal.wordpress.com/2012/03/27/gnu-parallel-the-best-thing-since-sliced-bread/ - -* Blog post: GNU Parallel makes everything faster. - http://compbiously.blogspot.com/2012/03/gnu-parallel-makes-everything-faster.html - -* Blog post (German): Howto: GNU parallel. - http://d24m.de/2012/04/05/howto-gnu-parallel/ - -* Blog post: Running in Parallel - http://interactivity.ifactory.com/2012/04/running-in-parallel/ - -* 20000 watched the first intro video. - http://pi.dk/1 - -* The first 5 have received their GNU Parallel merchandise - https://www.gnu.org/software/parallel/merchandise.html +* Blog post: Running commands in parallel using bash. + http://blog.michaelboman.org/2012/04/running-commands-in-parallel-using-bash.html * Bug fixes and man page updates. diff --git a/src/parallel b/src/parallel index 87cabfc0..0ff13f5c 100755 --- a/src/parallel +++ b/src/parallel @@ -419,7 +419,7 @@ sub options_hash { "null|0" => \$::opt_0, "quote|q" => \$::opt_q, "I=s" => \$::opt_I, - "extensionreplace|er" => \$::opt_U, + "extensionreplace|er=s" => \$::opt_U, "U=s" => \$::opt_retired, "basenamereplace|bnr=s" => \$::opt_basenamereplace, "dirnamereplace|dnr=s" => \$::opt_dirnamereplace, diff --git a/testsuite/tests-to-run/test42.sh b/testsuite/tests-to-run/test42.sh index 9fbd4e50..70d90f2b 100644 --- a/testsuite/tests-to-run/test42.sh +++ b/testsuite/tests-to-run/test42.sh @@ -12,6 +12,14 @@ echo "### Test --bnr" parallel -j1 -k -X --bnr FOO echo FOO ::: /a/b.c a/b.c b.c /a/b a/b b parallel -k --bnr FOO echo FOO ::: /a/b.c a/b.c b.c /a/b a/b b +echo "### Test --extensionreplace" +parallel -j1 -k -X --extensionreplace FOO echo FOO ::: /a/b.c a/b.c b.c /a/b a/b b +parallel -k --extensionreplace FOO echo FOO ::: /a/b.c a/b.c b.c /a/b a/b b + +echo "### Test --er" +parallel -j1 -k -X --er FOO echo FOO ::: /a/b.c a/b.c b.c /a/b a/b b +parallel -k --er FOO echo FOO ::: /a/b.c a/b.c b.c /a/b a/b b + echo "### Test --basenameextensionreplace" parallel -j1 -k -X --basenameextensionreplace FOO echo FOO ::: /a/b.c a/b.c b.c /a/b a/b b parallel -k --basenameextensionreplace FOO echo FOO ::: /a/b.c a/b.c b.c /a/b a/b b diff --git a/testsuite/wanted-results/test42 b/testsuite/wanted-results/test42 index d7585530..b4bb056e 100644 --- a/testsuite/wanted-results/test42 +++ b/testsuite/wanted-results/test42 @@ -14,6 +14,22 @@ b.c b b b +### Test --extensionreplace +/a/b a/b b /a/b a/b b +/a/b +a/b +b +/a/b +a/b +b +### Test --er +/a/b a/b b /a/b a/b b +/a/b +a/b +b +/a/b +a/b +b ### Test --basenameextensionreplace b b b b b b b