Imported from ../bash-3.1.tar.gz.
This commit is contained in:
		
					parent
					
						
							
								eb87367179
							
						
					
				
			
			
				commit
				
					
						95732b497d
					
				
			
		
					 267 changed files with 24541 additions and 18843 deletions
				
			
		|  | @ -65,7 +65,10 @@ HOME=/usr/homes/chet | |||
| somevar= | ||||
| expect "<$HOME>" | ||||
| recho ${somevar:-~} | ||||
| expect "<$HOME>" | ||||
| # This changed after bash-3.0, when the tilde implementation was redone.  It's | ||||
| # not backward compatible, but it's very hard to be backward-compatible here, | ||||
| # and I think the old behavior was a bug | ||||
| expect '<~>' | ||||
| recho "${somevar:-~}" | ||||
| expect '<~>' | ||||
| recho "${somevar:-"~"}" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jari Aalto
				Jari Aalto