*Synopsis*: paste -d no longer works with multibyte characters

Due to a change requested by <User 1-5Q-9201>,
<User 1-5Q-9201> is now the responsible engineer for:

CR 6904597 changed on Jan 20 2010 by <User 1-5Q-9201>

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

Hook 5                 <email address omitted>                                
Keyword                oss-sponsor                                            
Responsible Engineer   <User 1-5Q-9201>                                       
Status                 3-Accepted                  1-Dispatched               
====================== =========================== ===========================

     
*Change Request ID*: 6904597

*Synopsis*: paste -d no longer works with multibyte characters

  Product: solaris
  Category: utility
  Subcategory: text
  Type: Defect
  Subtype: 
  Status: 3-Accepted
  Substatus: 
  Priority: 3-Medium
  Introduced In Release: 
  Introduced In Build: 
  Responsible Engineer: <User 1-5Q-9201>
  Keywords: oss-request, oss-sponsor

=== *Description* ============================================================
paste(1) can't paste the delimiter which consists of multibyte characters.

$ echo $LANG
ja
$ od -tx1 delim.euc                 
0000000 a1 f7 0a
0000003
$ wc -m delim.euc                   
       2 delim.euc
So, it has one character of 2bytes (0xa1 0xf7).

$ od -tx1 input                     
0000000 61 0a 62 0a
0000004
$ /usr/bin/paste -d`cat delim.euc` - - < input | od -tx1
0000000 61 a1 62 0a
0000004
$ 
The last half of delimiter (0xf7) is lost.

files are attached.

*** (#1 of 1): 2009-11-24 23:38:52 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: 6793721
  Duplicate of: 
  Hooks:
        Hook1: 
        Hook2: 
        Hook3: 
        Hook4: 
        Hook5: <email address omitted>
        Hook6: <email address omitted>
  Program Management: 
  Root Cause: 
  Fix Affects Documentation: No
  Fix Affects Localization: No

=== *History* ================================================================
        Date Submitted: 2009-11-24 23:38:51 GMT+00:00
        Submitted By: <User 1-5Q-4028>

        Status Changed    Date Updated                  Updated By
        3-Accepted        2010-01-20 21:42:40 GMT+00:00 <User 1-5Q-9201>


=== *Service Request* ========================================================
        Impact: Significant
        Functionality: Secondary
        Severity: 3
        Product Name: solaris
        Product Release: solaris_nevada
        Product Build: 
        Operating System: snv_128
        Hardware: generic
        Submitted Date: 2009-11-24 23:38:52 GMT+00:00


=== *Multiple Release (MR) Cluster* - 0 ======================================

Reply via email to