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:
When removed the fedora rpm and installed parallel-20130722 from gnu, no problem.
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+.
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.