tolleff flag ist set by default -> weird behaviour

Bug #1183963 reported by Sebastian W.
48
This bug affects 8 people
Affects Status Importance Assigned to Milestone
parallel (Debian)
Fix Released
Unknown
parallel (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

By default configuration "debian/parallel.config-file" sets the --tolleff flag which leads to the weird error that e.g.

ls | parallel echo {}

does not work.

For more information, see
http://stackoverflow.com/questions/16448887/gnu-parallel-not-working-at-all/16448888#16448888
http://lists.gnu.org/archive/html/parallel/2013-02/msg00018.html

Is it possible to delete this flag by default? I don't won't anyone else wasting 1 hour spending to search for the error

Revision history for this message
Julian Taylor (jtaylor) wrote :

--tollef can't be removed because that would make it incompatible with the parallel in the moreutils package (which was there first).
but adding a warning when the flag is used might be a good idea. This will have to be discussed with the debian maintainers.

Changed in parallel (Debian):
status: Unknown → Won't Fix
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in parallel (Ubuntu):
status: New → Confirmed
Revision history for this message
Stuart Bishop (stub) wrote :

At the moment it is incompatible with its own man page, which only gives examples with the GNU syntax, states that GNU is the default, and states in no uncertain terms 'Do not use --tollef unless you know what you are doing'. So there is certainly a bug to fix here, even if it is just updating the man page.

Revision history for this message
Søren Holm (sgh) wrote :

According to this link, --tollef is actually being retired.

http://lists.gnu.org/archive/html/parallel/2013-02/msg00018.html

So that's another reason why it should be removed.

Changed in parallel (Debian):
status: Won't Fix → Fix Released
Revision history for this message
era (era) wrote :

Another hour down the drain. The inconsistency WRT the man page noted in comment #3 is a real killer.

 Anyway, Ubuntu does not have to abide by the silly turf war in Debian -- just override the config file (or merge the newest package, which should finally fix this, if I understand the upstream bug report's status correctly).

Revision history for this message
Stuart Bishop (stub) wrote :

In saucy:

parallel: Warning: YOU ARE USING --tollef. IF THINGS ARE ACTING WEIRD USE --gnu.
parallel: Warning: --tollef is obsolete and will be retired 20140222.
parallel: Warning: See: http://lists.gnu.org/archive/html/parallel/2013-02/msg00018.html

The tollef argument is being retired before saucy EOL, so we should probably fix this.

Revision history for this message
Søren Holm (sgh) wrote :

"ls | parallel echo {}" works with a fresh parallel install now,

Revision history for this message
era (era) wrote :

@sgh: is that as in "latest Ubuntu package in a fresh install" or something else?

Revision history for this message
Søren Holm (sgh) wrote :

The latest parallel-package in latest saucy version works. I had the package install initially but removed it with 'dpkg -P' and ensured that /etc/parallel was empty.

Revision history for this message
era (era) wrote :

Setting to "Fix Released" based on latest comment.

Changed in parallel (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.