*Synopsis*: cut -d with multibyte character no longer works CR 6904575 changed on Feb 7 2010 by <User 1-5Q-13979>
=== Field ============ === New Value ============= === Old Value ============= Category shell utility SubCategory korn93 text ====================== =========================== =========================== *Change Request ID*: 6904575 *Synopsis*: cut -d with multibyte character no longer works Product: solaris Category: shell Subcategory: korn93 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* ============================================================ cut -d with multibyte char no longer work correctly. $ echo $LANG ja $ od -tx1 mb.eucjp 0000000 a4 a2 a4 a4 a4 a4 a4 a6 a4 a8 0a 0000013 $ od -tx1 delim 0000000 a4 a4 0a 0000003 $ wc -m mb.eucjp 6 mb.eucjp It has 5 characters (2byte each). $ /usr/bin/cut -d `cat delim` -f1 mb.eucjp | od -tx1 0000000 0a 0000001 correct output is 0000000 a4 a2 0a 0000003 files are attached. *** (#1 of 1): 2009-11-24 22:48:03 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: 6793719 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 22:48:02 GMT+00:00 Submitted By: <User 1-5Q-4028> Status Changed Date Updated Updated By 3-Accepted 2010-01-20 21:59:01 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 22:48:03 GMT+00:00 === *Multiple Release (MR) Cluster* - 0 ======================================