seq -s '|' 1 5 1 2|3|4|5| The first separator is not the requested "|" but a newline instead. This is causing my scripts to fail with "syntax error near unexpected token `newline'" type errors. Reproducible: Always Steps to Reproduce: 1. emerge sys-apps/coreutils-8.20 2. Use seq to produce a sequence of numbers with a given separator Actual Results: First separator is the wrong character (newline). Expected Results: The first separator should be as requested, not a newline. No idea what caused this. It worked before, and I've made no changes to my configs. Affects all of my Gentoo boxes.
looks like it's been reported+fixed upstream http://git.savannah.gnu.org/cgit/coreutils.git/diff/?id=76f606a9544bd67629bd4766ff6efe8bf42b20d9
should be all set now in the tree; thanks for the report! Commit message: Add fix from upstream for `seq -s` misbehavior http://sources.gentoo.org/gentoo/src/patchsets/coreutils/8.20/041_all_coreutils-seq-s-newline.patch?rev=1.1 http://sources.gentoo.org/sys-apps/coreutils/coreutils-8.20-r2.ebuild?rev=1.1
*** Bug 472738 has been marked as a duplicate of this bug. ***
*** Bug 474776 has been marked as a duplicate of this bug. ***