From 9b773d03f47f533ab66f94543152b1925da9a9c6 Mon Sep 17 00:00:00 2001 From: Ole Tange Date: Thu, 5 May 2011 10:58:18 +0200 Subject: [PATCH] parallel: sorting of multiple -a changed --- src/parallel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parallel b/src/parallel index 005ceabe..373539af 100755 --- a/src/parallel +++ b/src/parallel @@ -3989,7 +3989,7 @@ sub nest_get { $self->unget([@first_arg_set]); } my @fh = @{$self->{'fhs'}}; - for (my $fhno = 0; $fhno < $no_of_inputs; $fhno++) { + for (my $fhno = $no_of_inputs-1; $fhno >= 0; $fhno--) { if(eof($fh[$fhno])) { next; } else {