A NOTE has been added to this issue. 
====================================================================== 
http://austingroupbugs.net/view.php?id=1193 
====================================================================== 
Reported By:                geoffclare
Assigned To:                
====================================================================== 
Project:                    1003.1(2016)/Issue7+TC2
Issue ID:                   1193
Category:                   Shell and Utilities
Type:                       Omission
Severity:                   Objection
Priority:                   normal
Status:                     New
Name:                       Geoff Clare 
Organization:               The Open Group 
User Reference:              
Section:                    2.6, 2.7 
Page Number:                2353, 2360 
Line Number:                74994, 75303 
Interp Status:              --- 
Final Accepted Text:         
====================================================================== 
Date Submitted:             2018-04-23 15:26 UTC
Last Modified:              2018-04-23 21:18 UTC
====================================================================== 
Summary:                    Brace expansion and {var}>file redirects in the
shell
====================================================================== 

---------------------------------------------------------------------- 
 (0003992) stephane (reporter) - 2018-04-23 21:18
 http://austingroupbugs.net/view.php?id=1193#c3992 
---------------------------------------------------------------------- 
Which brings the question: how do you store in a variable a glob pattern
that is meant to match on files whose name starts with {,} in ksh93?

var='{,}*'; ls -ld $var is like ls -ld * *
var='\{\,\}*'           is like ls -ld '\\'* '\\'*
var='[{][,][}]*'        is like ls -ld [][]* [][]*

it doesn't look like there's any way around it. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2018-04-23 15:26 geoffclare     New Issue                                    
2018-04-23 15:26 geoffclare     Name                      => Geoff Clare     
2018-04-23 15:26 geoffclare     Organization              => The Open Group  
2018-04-23 15:26 geoffclare     Section                   => 2.6, 2.7        
2018-04-23 15:26 geoffclare     Page Number               => 2353, 2360      
2018-04-23 15:26 geoffclare     Line Number               => 74994, 75303    
2018-04-23 15:26 geoffclare     Interp Status             => ---             
2018-04-23 15:32 geoffclare     Desired Action Updated                       
2018-04-23 17:47 stephane       Note Added: 0003989                          
2018-04-23 18:12 stephane       Note Added: 0003990                          
2018-04-23 20:58 stephane       Note Added: 0003991                          
2018-04-23 21:18 stephane       Note Added: 0003992                          
======================================================================


Reply via email to