bug-parallel
[Top][All Lists]
Advanced

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

GNU Parallel Bug Reports line feeds within commands provided to GNU Para


From: Coby Viner
Subject: GNU Parallel Bug Reports line feeds within commands provided to GNU Parallel break positional replacement strings
Date: Wed, 19 Jul 2017 10:56:48 -0400
User-agent: SquirrelMail/1.4.23 [SVN]

Line feeds within commands provided to GNU Parallel break positional replacement strings.

Example error text:

N/A

Parallel version (latest):

address@hidden:~] parallel --version

GNU parallel 20170622
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
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'.

address@hidden:~] 

 

Failing case :

address@hidden:~] parallel "echo \"{}{1}{1}
{1}{}
\"" ::: a
aaa
{1}a

address@hidden:~] 

 

Passing case:

address@hidden:~] parallel "echo -e \"{}{1}{1}\n{1}{}
\"" ::: a
aaa
aa

address@hidden:~] 

 

Platform:

address@hidden:~] uname -a

Linux mordor 2.6.32-642.6.2.el6.x86_64 #1 SMP Wed Oct 26 06:52:09 UTC 2016 x86_64 GNU/Linux

address@hidden:~] 

 

Description:

Positional replacement strings appear not to function on any line after the first, even when the replacement string itself is not split by a line feed.

Perhaps this has already been fixed from a similar issue earlier this month. Is there some workaround I could use in the meantime, other than placing all commands on a single line?

Thanks,

Coby

 

 


reply via email to

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