Bash doesn't expand its $'...' construct in double quotes: $ echo "$'a\tb'" $'a\tb' Change BusyBox ash to do the same. This also fixes a problem with here documents where BusyBox ash gave an incorrect result for: $ cat <<EOF > '$' > EOF '$' Reported-by: Timo Teras <timo.teras@iki.fi> Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
		
			
				
	
	
		
			9 lines
		
	
	
		
			181 B
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			181 B
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
echo $'a\tb'
 | 
						|
echo "$'a\tb'"
 | 
						|
echo $'a\nb' $'c\nd''ef'
 | 
						|
echo $'a\'b' $'c\"d' $'e\\f'
 | 
						|
echo $'a\63b' $'c\063b' $'e\0633f'
 | 
						|
echo $'a\80b' $'c\608b'
 | 
						|
echo $'a\x33b' $'c\x330b'
 | 
						|
echo $'x\x9y'
 |