bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#31045: split -e missing in split 8.4 version


From: Eric Blake
Subject: bug#31045: split -e missing in split 8.4 version
Date: Tue, 3 Apr 2018 09:25:56 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

tag 31045 notabug
thanks

On 04/03/2018 05:59 AM, Abhijeet Patwari wrote:
> Hi,
> 
> I was using split 8.25 version. In my code, I have used split -e option.
> After server upgrade, split also got upgraded and my code is giving error
> at split -e.
> 
> Kindly let me know what is the equivalent of split -e in 8.4. OR any
> alternate solution for this.

Coreutils 8.4 is NOT an upgrade, but a downgrade, in relation to 8.25.
'split -e' was added in coreutils 8.8 (commit be10739) (although the
NEWS file forgot to mention it; -e was added at the same time as
--number, but only --number was mentioned in the NEWS).

Your solution, then, is to actually upgrade coreutils back up to a
version that has the features you want, or to rewrite your script to not
require the use of that feature as it is not portable to the bare
minimum behavior that POSIX requires of split.

But since we can't retroactively add features to older releases, there's
no bug to  fix here, so I'm closing this bug in the database.  Feel free
to add more comments on the topic, though, as needed.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]