14 lines
		
	
	
	
		
			202 B
		
	
	
	
		
			Text
		
	
	
	
	
	
		
		
			
		
	
	
			14 lines
		
	
	
	
		
			202 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| 
								 | 
							
								# indirect referencing of a nameref returns the variable name it references
							 | 
						||
| 
								 | 
							
								unset foo bar
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								bar=one
							 | 
						||
| 
								 | 
							
								foo=bar
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								typeset -n foo
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								echo ${foo}
							 | 
						||
| 
								 | 
							
								echo ${!foo}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# this is a current incompatibility
							 | 
						||
| 
								 | 
							
								echo ${!foo[0]}
							 |