Bug 994639

Summary: parallel not working
Product: [Fedora] Fedora Reporter: dontbother
Component: parallelAssignee: Golo Fuchert <packages>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: dontbother, packages
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-07 20:34:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description dontbother 2013-08-07 16:58:20 UTC
Description of problem:
gilga@localhost ~$ ls | parallel gzip -1
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
gzip: compressed data not written to a terminal. Use -f to force compression.
For help, type: gzip -h
/bin/bash: -1: chybný přepínač
Použití:	/bin/bash [Dlouhý GNU přepínač] [přepínač]…
	/bin/bash [Dlouhý GNU přepínač] [přepínač] skriptový_soubor…
Dlouhé GNU přepínače:
	--debug
	--debugger
	--dump-po-strings
	--dump-strings
	--help
	--init-file
	--login
	--noediting
	--noprofile
	--norc
	--posix
	--protected
	--rcfile
	--rpm-requires
	--restricted
	--verbose
	--version
Přepínače shellu:
	-irsD nebo -c příkaz nebo -O shopt_přepínač	(pouze při vyvolání)
	-abefhkmnptuvxBCHP nebo -o přepínač


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 dontbother 2013-08-07 17:56:33 UTC
When removed the fedora rpm and installed parallel-20130722 from gnu, no problem.

Comment 2 Golo Fuchert 2013-08-07 20:34:29 UTC
Up to Fedora 19, parallel uses the option --tollef, which was necessary when it was packaged for Fedora to prevent breakage of user scripts using moreutils-parallel. As the warning tells you, by using
$ parallel --gnu 
parallel behaves as expected and it works for your example. So, if you are using the fedora rpm, please use the gnu option. The gnu option will be the default from f20+.

Comment 3 dontbother 2013-08-07 21:06:07 UTC
Sorry for my needles bug report.
As it didn't work, I also tried the --gnu option, but entered only -gnu which lead to other errors, so I've concluded the package to be broken.
Next time I'll be more thorough, I promise.