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 appear to prevent --colsep from functioning
Date: Mon, 3 Jul 2017 18:35:12 -0400
User-agent: SquirrelMail/1.4.23 [SVN]

Line feeds within commands provided to GNU Parallel appear to prevent --colsep from functioning.

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 --dry-run --colsep '\t' "
echo {1} {2}
" :::: <(perl -e 'printf "A\tBC\tD"')

echo {1} {2}
 A BC D

address@hidden:~] 

 

Passing case:

address@hidden:~] parallel --dry-run --colsep '\t' "echo {1} {2}" :::: <(perl -e 'printf "A\tBC\tD"')
echo A BC

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:

It appears that --colsep, when used with a command containing line feeds, ceases to function. It behaves as though no input substitutions were requested and therefore adds the default substitution, {}, at the end of the command. Am I perhaps doing something incorrect?

Thanks,

Coby


reply via email to

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