*Synopsis*: paste -d no longer works with multibyte characters
CR 6904597 changed on Mar 30 2010 by <User 1-9HOB9N>
=== Field ============ === New Value ============= === Old Value =============
See Also 6939349
====================== =========================== ===========================
*Change Request ID*: 6904597
*Synopsis*: paste -d no longer works with multibyte characters
Product: solaris
Category: shell
Subcategory: korn93
Type: Defect
Subtype: Functionality
Status: 7-Fix in Progress
Substatus:
Priority: 3-Medium
Introduced In Release: solaris_nevada
Introduced In Build: snv_128
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: snv_137
Fixed In Build:
Integrated In Build:
Verified In Build:
See Also: 6793721, 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 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>
7-Fix in Progress 2010-03-29 03:09:20 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 ======================================