*Synopsis*: *ksh93* aliases are not shown correctly if there is an '=' in the 
value

CR 6768233 changed on Nov 17 2008 by <User 1-5Q-5151>

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

Status                 3-Accepted                  1-Dispatched               
Synopsis               *ksh93* aliases are not s.. aliases are not shown cor..
====================== =========================== ===========================

     
*Change Request ID*: 6768233

*Synopsis*: *ksh93* aliases are not shown correctly if there is an '=' in the 
value

  Product: solaris
  Category: shell
  Subcategory: korn93
  Type: Defect
  Subtype: 
  Status: 3-Accepted
  Substatus: 
  Priority: 4-Low
  Introduced In Release: 
  Introduced In Build: 
  Responsible Engineer: 
  Keywords: 

=== *Description* ============================================================
ksh93 does not show aliases properly if there is an '=' sign in the value.

For eg:
$ alias cs="EDITOR=vim cscope -p2 -d"
$ alias cs
cs=EDITOR='vim cscope -p2 -d'
$ type cs
cs is an alias for EDITOR='vim cscope -p2 -d'
$

Note that the openning quote is not at the right place.

Its the same case with ksh as well.  But ksh does not show the quotes in 'type' 
command
$ type cs
cs is an alias for EDITOR=vim cscope -p2 -d

The aliases are executed properly.  There is no issue there.
The only issue is with how the aliases are shown by the alias command.
This also causes issues if the output is processed by a program.

bash shows the aliases correctly.

*** (#1 of 1): 2008-11-06 07:20:52 GMT+00:00 <User 1-5Q-8398>


=== *Public Comments* ========================================================

=== *Workaround* =============================================================

=== *Additional Details* =====================================================
        Targeted Release: 
        Commit To Fix In Build: 
        Fixed In Build: 
        Integrated In Build: 
        Verified In Build: 
  See Also: 
  Duplicate of: 
  Hooks:
        Hook1: 
        Hook2: 
        Hook3: 
        Hook4: 
        Hook5: 
        Hook6: 
  Program Management: 
  Root Cause: 
  Fix Affects Documentation: No
  Fix Affects Localization: No

=== *History* ================================================================
        Date Submitted: 2008-11-06 07:20:51 GMT+00:00
        Submitted By: <User 1-5Q-8398>

        Status Changed    Date Updated                  Updated By
        3-Accepted        2008-11-17 18:59:18 GMT+00:00 <User 1-5Q-5151>


=== *Service Request* ========================================================
        Impact: Limited
        Functionality: Secondary
        Severity: 4
        Product Name: solaris
        Product Release: solaris_nevada
        Product Build: snv_99
        Operating System: solaris_nevada
        Hardware: generic
        Submitted Date: 2008-11-06 07:20:52 GMT+00:00


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


Reply via email to