|
From: | Daniel Zhang |
Subject: | GNU Parallel Bug Reports The wierd output from total_jobs function |
Date: | Mon, 9 Sep 2019 06:21:41 +0000 |
Hi all:
I am handling jobs with parallel via pipeline, but I can't get what I need sometimes.
$ parallel --version
GNU parallel 20190822
Copyright (C) 2007-2019 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'.$ echo -e "A\tB\tC" | parallel echo '{} {= $_=total_jobs() =}'
A B C 1
$ echo -e "A\tB\tC" | parallel --colsep '\t' echo '{} {= $_=total_jobs() =}'
A B C 1 1 1
Why the output of
total_jobs() is 1 1 1
?
Daniel
|
[Prev in Thread] | Current Thread | [Next in Thread] |