*Synopsis*: wc no longer counts number of bytes correctly
CR 6904557 changed on Mar 30 2010 by <User 1-9HOB9N>
=== Field ============ === New Value ============= === Old Value =============
See Also 6939349
====================== =========================== ===========================
*Change Request ID*: 6904557
*Synopsis*: wc no longer counts number of bytes correctly
Product: solaris
Category: shell
Subcategory: korn93
Type: Defect
Subtype: Functionality
Status: 7-Fix in Progress
Substatus:
Priority: 2-High
Introduced In Release: solaris_nevada
Introduced In Build: snv_128
Responsible Engineer: <User 1-5Q-9201>
Keywords: oss-request, oss-sponsor
=== *Description* ============================================================
wc no longer count bytes.
$ echo $LANG
en_US.UTF-8
$ ls -l mb.utf8
-rw-r--r-- 1 nakanon staff 7 Nov 2 14:06 mb.utf8
$ wc mb.utf8
1 1 4 mb.utf8
$
mb.utf8 is attached.
Man page says:
If no option is specified, the default is -lwc (counts
lines, words, and bytes.)
SUS says:
http://www.opengroup.org/onlinepubs/000095399/utilities/wc.html
By default, the standard output shall contain an entry for each input file of
the form:
"%d %d %d %s\n", <newlines>, <words>, <bytes>, <file>
If the -m option is specified, the number of characters shall replace the
<bytes> field in this format.
*** (#1 of 1): 2009-11-24 22:12:23 GMT+00:00 <User 1-5Q-4028>
*** Last Edit: 2009-11-24 22:55:56 GMT+00:00 <User 1-5Q-4028>
=== *Public Comments* ========================================================
=== *Workaround* =============================================================
=== *Additional Details* =====================================================
Targeted Release: solaris_nevada
Commit To Fix In Build: snv_137
Fixed In Build:
Integrated In Build:
Verified In Build:
See Also: 6793735, 6939349
Duplicate of:
Hooks:
Hook1:
Hook2:
Hook3:
Hook4:
Hook5: <email address omitted>
Hook6: <email address omitted>
Program Management:
Root Cause: Another Bug Fix
Fix Affects Documentation: No
Fix Affects Localization: No
=== *History* ================================================================
Date Submitted: 2009-11-24 22:12:22 GMT+00:00
Submitted By: <User 1-5Q-4028>
Status Changed Date Updated Updated By
3-Accepted 2009-12-16 11:34:00 GMT+00:00 <User 1-5Q-13750>
7-Fix in Progress 2010-03-29 03:07:03 GMT+00:00 <User 1-5Q-9201>
=== *Service Request* ========================================================
Impact: Significant
Functionality: Primary
Severity: 2
Product Name: solaris
Product Release: solaris_nevada
Product Build:
Operating System: snv_128
Hardware: generic
Submitted Date: 2009-11-24 22:12:23 GMT+00:00
=== *Multiple Release (MR) Cluster* - 0 ======================================