*Synopsis*: wc no longer counts number of bytes correctly

CR 6904557 changed on Dec 11 2009 by <User 1-9HQUNY>

=== Field ============ === New Value ============= === Old Value =============

Hook 6                 <email address omitted>                                
Keyword                oss-request                                            
====================== =========================== ===========================

     
*Change Request ID*: 6904557

*Synopsis*: wc no longer counts number of bytes correctly

  Product: solaris
  Category: utility
  Subcategory: text
  Type: Defect
  Subtype: 
  Status: 1-Dispatched
  Substatus: 
  Priority: 2-High
  Introduced In Release: 
  Introduced In Build: 
  Responsible Engineer: 
  Keywords: oss-request

=== *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: 
        Fixed In Build: 
        Integrated In Build: 
        Verified In Build: 
  See Also: 6793735
  Duplicate of: 
  Hooks:
        Hook1: 
        Hook2: 
        Hook3: 
        Hook4: 
        Hook5: 
        Hook6: <email address omitted>
  Program Management: 
  Root Cause: 
  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


=== *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 ======================================

Reply via email to