Bug 142949 - wc unable to count the number of words in a file
wc unable to count the number of words in a file
Status: CLOSED DUPLICATE of bug 142948
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: coreutils (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Brian Brock
Depends On:
Blocks: RHEL4-LI18NUX
  Show dependency treegraph
Reported: 2004-12-15 04:34 EST by Lawrence Lim
Modified: 2014-03-25 20:51 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-12-15 04:39:57 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Lawrence Lim 2004-12-15 04:34:41 EST
Description of problem:
This bug is filed as it is one of the errors reported in the LI18nUX
test suite, part of the LSB conformance test.

It has been reported that wc is unable to count the number of words in
a file separated by white-space.

I have stripped down the test suite to only the single test case. I
would really appreciate if you could have a look and let me know if
this is a glibc error or Test Case issue?

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

How reproducible:

Steps to Reproduce:
1.Down the attachment, wc2.tar.gz
2.run ./wc2.sh
3.view the result in the output file, tet_xres

Actual results:
Can't count the number of words in a file

Expected results:
Be able to recognise the following input string as 6 words.
この      ファイル には   日本語も 含まれて います。

Additional info:

Note You need to log in before you can comment on or make changes to this bug.