Bug 1306393

Summary: unexpand chokes on empty lines
Product: [Fedora] Fedora Reporter: vvs <vvs009>
Component: coreutilsAssignee: Ondrej Vasik <ovasik>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: admiller, kdudka, kzak, ooprala, ovasik, p, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard:
Fixed In Version: coreutils-8.24-6.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-17 03:49:40 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 vvs 2016-02-10 17:16:47 UTC
Description of problem:

unexpand doesn't like when there are empty lines in a file and finishes abruptly.

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

coreutils-8.24-5

How reproducible:

Always

Steps to Reproduce:
1. echo >test.txt
2. unexpand test.txt

Actual results:

unexpand: input line is too long

Expected results:

it should successfully process all lines.

Additional info:

Comment 1 Ondrej Vasik 2016-02-10 22:58:11 UTC
As a temporary workaround, please try to use C locales. With LC_ALL=C unexpand it should not happen. I assume this is caused by recent changes in downstream implementation of i18n patch. Can you confirm?

Comment 2 vvs 2016-02-11 02:49:41 UTC
Unfortunately it didn't help. Nothing changed.

Comment 3 Fedora Update System 2016-02-15 07:19:11 UTC
coreutils-8.24-6.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-c6e4ae0beb

Comment 4 Fedora Update System 2016-02-17 03:49:37 UTC
coreutils-8.24-6.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.