mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-25 07:27:55 +00:00
Fixed bug: parallel -j 50 without command does not act as cat | sh
This commit is contained in:
parent
1c9fcbdc37
commit
67f2a6dfaa
2
parallel
2
parallel
|
@ -304,7 +304,7 @@ $command = undef;
|
||||||
$Global::verbose = 0;
|
$Global::verbose = 0;
|
||||||
$Global::grouped = 1;
|
$Global::grouped = 1;
|
||||||
$Global::quoting = 0;
|
$Global::quoting = 0;
|
||||||
$Global::input_is_filename = (defined @ARGV);
|
$Global::input_is_filename = (@ARGV);
|
||||||
$/="\n";
|
$/="\n";
|
||||||
|
|
||||||
$Global::debug = (defined $::opt_d);
|
$Global::debug = (defined $::opt_d);
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
test of cat pipe sh
|
||||||
1-col.txt
|
1-col.txt
|
||||||
2-col.txt
|
2-col.txt
|
||||||
bar
|
bar
|
||||||
|
|
|
@ -4,6 +4,7 @@ rm -rf tmp 2>/dev/null
|
||||||
cp -a input-files/testdir tmp
|
cp -a input-files/testdir tmp
|
||||||
cd tmp
|
cd tmp
|
||||||
|
|
||||||
|
echo echo test of cat pipe sh | parallel -j 50 2>&1
|
||||||
find . -name '*.jpg' | parallel -j +0 convert -geometry 120 {} {}_thumb.jpg
|
find . -name '*.jpg' | parallel -j +0 convert -geometry 120 {} {}_thumb.jpg
|
||||||
find . -name '*_thumb.jpg' | ren 's:/([^/]+)_thumb.jpg$:/thumb_$1:'
|
find . -name '*_thumb.jpg' | ren 's:/([^/]+)_thumb.jpg$:/thumb_$1:'
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
test of cat pipe sh
|
||||||
1-col.txt
|
1-col.txt
|
||||||
2-col.txt
|
2-col.txt
|
||||||
bar
|
bar
|
||||||
|
|
Loading…
Reference in a new issue