Bug 142949 - wc unable to count the number of words in a file
Summary: wc unable to count the number of words in a file
Keywords:
Status: CLOSED DUPLICATE of bug 142948
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: coreutils
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Jakub Jelinek
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks: RHEL4-LI18NUX
TreeView+ depends on / blocked
 
Reported: 2004-12-15 09:34 UTC by Lawrence Lim
Modified: 2014-03-26 00:51 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-12-15 09:39:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Lawrence Lim 2004-12-15 09:34:41 UTC
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):
glibc-devel-2.3.3-86
glibc-profile-2.3.3-86
glibc-headers-2.3.3-86
compat-glibc-headers-2.3.2-95.30
glibc-2.3.3-86
glibc-kernheaders-2.4-9.1.87
compat-glibc-2.3.2-95.30
glibc-common-2.3.3-86
glibc-utils-2.3.3-86

How reproducible:
Always

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:
https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=108593&action=view


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