mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-12-25 22: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::grouped = 1;
|
||||
$Global::quoting = 0;
|
||||
$Global::input_is_filename = (defined @ARGV);
|
||||
$Global::input_is_filename = (@ARGV);
|
||||
$/="\n";
|
||||
|
||||
$Global::debug = (defined $::opt_d);
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
test of cat pipe sh
|
||||
1-col.txt
|
||||
2-col.txt
|
||||
bar
|
||||
|
|
|
@ -4,6 +4,7 @@ rm -rf tmp 2>/dev/null
|
|||
cp -a input-files/testdir 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 '*_thumb.jpg' | ren 's:/([^/]+)_thumb.jpg$:/thumb_$1:'
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
test of cat pipe sh
|
||||
1-col.txt
|
||||
2-col.txt
|
||||
bar
|
||||
|
|
Loading…
Reference in a new issue