bug-parallel
[Top][All Lists]
Advanced

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

GNU Parallel Bug Reports --joblog parsing fails for commands containing


From: Coby Viner
Subject: GNU Parallel Bug Reports --joblog parsing fails for commands containing line feeds.
Date: Fri, 16 Jun 2017 18:00:23 -0400
User-agent: SquirrelMail/1.4.23 [SVN]

--joblog parsing fails for commands containing line feeds.

Example error text:

parallel: Error: Format of 'test_joblog_fails.log' is wrong:     echo "

 

Parallel version (latest):

 cviner  ~  parallel --version
GNU parallel 20170522
Copyright (C) 2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017
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 programs that use GNU Parallel to process data for publication
please cite as described in 'parallel --citation'.

 cviner  ~ 

 

Error example: 2 required files ("test_joblog_fails.log" and "test_joblog_succeeds.log") are enclosed.

Failing case:

 cviner  ~  parallel -j 1 --verbose --resume --joblog test_joblog_fails.log "sleep" ::: 1 2
parallel: Error: Format of 'test_joblog_fails.log' is wrong:     echo "

 cviner  ~  

 

Passing case:

 cviner  ~  parallel -j 1 --verbose --resume --joblog test_joblog_succeeds.log "sleep" ::: 1 2
 cviner  ~  

 

Platform:

 cviner  ~  uname -a
Linux mhoffman3.uhnresearch.ca 2.6.32-431.17.1.el6.x86_64 #1 SMP Wed May 7 23:32:49 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
 cviner  ~  

 

Description:

I am running GNU Parallel from a bash script in which it is convenient for me to use commands that span over multiple lines (of which the above is a simple contrived example). It would be nice if --joblog parsing were able to ignore lines not starting with a sequence number.

Thank you,

Coby Viner

 

Attachment: test_joblog_fails.log
Description: Text Data

Attachment: test_joblog_succeeds.log
Description: Text Data


reply via email to

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