bug-parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNU Parallel Bug Reports parallel 20120930 gets "Bareword found where op


From: William Bader
Subject: GNU Parallel Bug Reports parallel 20120930 gets "Bareword found where operator expected"
Date: Thu, 11 Oct 2012 19:03:09 -0400

parallel works great on newer systems, but it gets an error on some of my older servers.
On Red Hat Linux release 9 (Shrike) with "perl, v5.8.0 built for i386-linux-thread-multi", it gets perl errors.
I have attached a patch that moves the declaration of init_progress before its first use.  That seems to fix the problem.
William

$ echo date | parallel
Bareword found where operator expected at ./parallel- line 1296, near "$Global::original_stderr init_progress"
        (Missing operator before init_progress?)
Bareword found where operator expected at ./parallel- line 1348, near "$Global::original_stderr init_progress"
        (Missing operator before init_progress?)
Thu Oct 11 18:56:39 EDT 2012

$ parallel --version
Bareword found where operator expected at ./parallel- line 1296, near "$Global::original_stderr init_progress"
        (Missing operator before init_progress?)
Bareword found where operator expected at ./parallel- line 1348, near "$Global::original_stderr init_progress"
        (Missing operator before init_progress?)
GNU parallel 20120930
Copyright (C) 2007,2008,2009,2010,2011,2012 Ole Tange and Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
GNU parallel comes with no warranty.

Web site: http://www.gnu.org/software/parallel

When using GNU Parallel for a publication please cite:

O. Tange (2011): GNU Parallel - The Command-Line Power Tool, 
;login: The USENIX Magazine, February 2011:42-47.

Attachment: parallel-11oct12.pat
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]