A NOTE has been added to this issue. 
====================================================================== 
https://austingroupbugs.net/view.php?id=1630 
====================================================================== 
Reported By:                mirabilos
Assigned To:                
====================================================================== 
Project:                    1003.1(2016/18)/Issue7+TC2
Issue ID:                   1630
Category:                   Base Definitions
Type:                       Clarification Requested
Severity:                   Objection
Priority:                   normal
Status:                     New
Name:                       mirabilos 
Organization:               mksh 
User Reference:              
Section:                    3.10 
Page Number:                (page or range of pages) 
Line Number:                (Line or range of lines) 
Interp Status:              --- 
Final Accepted Text:         
====================================================================== 
Date Submitted:             2023-01-20 21:39 UTC
Last Modified:              2023-02-24 14:44 UTC
====================================================================== 
Summary:                    Alias names
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0001050 Add support for the hyphen character in...
====================================================================== 

---------------------------------------------------------------------- 
 (0006176) hvd (reporter) - 2023-02-24 14:44
 https://austingroupbugs.net/view.php?id=1630#c6176 
---------------------------------------------------------------------- 
> Does that mean "reinput as a scalar variable assignment"?

I have interpreted it, and dash has interpreted it, as "reinput as an
operand to the alias command", so that given an existing alias foo,
v=$(alias foo) can be used to save its definition, and eval "alias $v" can
be used to restore it. This is why dash has also recently changed to
suitably quote not only the value, but also the name (in contradiction of
POSIX because POSIX is clearly utterly wrong here). zsh does the same.

Mind, this is only useful for the output of a single alias definition. For
the output of multiple alias definitions, the -p option is still needed. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2023-01-20 21:39 mirabilos      New Issue                                    
2023-01-20 21:39 mirabilos      Name                      => mirabilos       
2023-01-20 21:39 mirabilos      Organization              => mksh            
2023-01-20 21:39 mirabilos      URL                       =>
https://austingroupbugs.net/view.php?id=1050
2023-01-20 21:39 mirabilos      Section                   => 3.10            
2023-01-20 22:30 kre            Note Added: 0006122                          
2023-01-20 22:36 kre            Note Added: 0006123                          
2023-01-20 22:38 kre            Note Edited: 0006123                         
2023-02-09 17:08 nick           Relationship added       related to 0001050  
2023-02-09 17:09 geoffclare     Project                  Online Pubs =>
1003.1(2016/18)/Issue7+TC2
2023-02-13 17:19 geoffclare     Note Added: 0006149                          
2023-02-18 20:33 mirabilos      Note Added: 0006156                          
2023-02-24 10:03 geoffclare     Note Added: 0006171                          
2023-02-24 12:24 hvd            Note Added: 0006172                          
2023-02-24 12:25 hvd            Note Edited: 0006172                         
2023-02-24 13:45 geoffclare     Note Added: 0006173                          
2023-02-24 14:05 ormaaj         Note Added: 0006174                          
2023-02-24 14:08 ormaaj         Note Edited: 0006174                         
2023-02-24 14:09 ormaaj         Note Edited: 0006174                         
2023-02-24 14:14 ormaaj         Note Edited: 0006174                         
2023-02-24 14:17 ormaaj         Note Edited: 0006174                         
2023-02-24 14:30 stephane       Note Added: 0006175                          
2023-02-24 14:44 hvd            Note Added: 0006176                          
======================================================================


  • [1003.1(2016... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group

Reply via email to