Fixed problem with empty line as input

This commit is contained in:
Ole Tange 2009-04-27 14:05:56 +02:00
parent b60b16779e
commit 04ac9f3c02
2 changed files with 2 additions and 2 deletions

View file

@ -437,7 +437,7 @@ sub generate_command_line {
$length_of_command_no_args = length($c);
}
while ($next_arg = get_next_arg()) {
while (defined($next_arg = get_next_arg())) {
push (@quoted_args, $next_arg);
if(not $Global::xargs and not $Global::Xargs) {
last;

View file

@ -124,7 +124,7 @@
.\" ========================================================================
.\"
.IX Title "PARALLEL 1"
.TH PARALLEL 1 "2009-04-04" "perl v5.10.0" "User Contributed Perl Documentation"
.TH PARALLEL 1 "2009-04-27" "perl v5.10.0" "User Contributed Perl Documentation"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l