|
From: | Coby Viner |
Subject: | GNU Parallel Bug Reports env_parallel is unable to accept input via process substitution |
Date: | Mon, 3 Jul 2017 16:15:31 -0400 |
User-agent: | SquirrelMail/1.4.23 [SVN] |
env_parallel is unable to accept input via process substitution.
Example error text:
parallel: Error: Cannot open input file `/dev/fd/63': No such file or directory.
Ran env_parallel --install and env_parallel --record-env, prior to running the below commands.
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:~]
address@hidden:~] env_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
<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'.
address@hidden:~]
Error example:
Failing case 1:
address@hidden:~] env_parallel --colsep '\t'
"echo f1={1} f2={2} g1={3} g2={4}" :::: <(perl -e 'printf
"f1\tf2\nA\tB\nC\tD\n"') :::: <(perl -e 'printf
"g1\tg2\nE\tF\nG\tH\n"')
parallel: Error: Cannot open input file `/dev/fd/63': No such file or
directory.
address@hidden:~]
Failing case 2 (i.e. it still fails with --env _):
address@hidden:~] env_parallel --env _
--colsep '\t' "echo f1={1} f2={2} g1={3} g2={4}" :::: <(perl
-e 'printf "f1\tf2\nA\tB\nC\tD\n"') :::: <(perl -e 'printf
"g1\tg2\nE\tF\nG\tH\n"')
parallel: Error: Cannot open input file `/dev/fd/63': No such file or
directory.
address@hidden:~]
Passing case:
address@hidden:~] parallel --colsep '\t'
"echo f1={1} f2={2} g1={3} g2={4}" :::: <(perl -e 'printf
"f1\tf2\nA\tB\nC\tD\n"') :::: <(perl -e 'printf
"g1\tg2\nE\tF\nG\tH\n"')
f1=f1 f2=f2 g1=g1 g2=g2
f1=f1 f2=f2 g1=E g2=F
f1=f1 f2=f2 g1=G g2=H
f1=A f2=B g1=g1 g2=g2
f1=A f2=B g1=E g2=F
f1=A f2=B g1=G g2=H
f1=C f2=D g1=g1 g2=g2
f1=C f2=D g1=E g2=F
f1=C f2=D g1=G g2=H
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:
env_parallel does not appear able to accept input via process substitution from the parent shell. Perhaps this is prohibitively difficult to accomplish?
Thanks,
Coby
[Prev in Thread] | Current Thread | [Next in Thread] |