15 lines
		
	
	
		
			174 B
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			174 B
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
# external program
 | 
						|
a=b /bin/true
 | 
						|
env | grep ^a=
 | 
						|
 | 
						|
# builtin
 | 
						|
a=b true
 | 
						|
env | grep ^a=
 | 
						|
 | 
						|
# exec with redirection only
 | 
						|
# in bash, this leaks!
 | 
						|
a=b exec 1>&1
 | 
						|
env | grep ^a=
 | 
						|
 | 
						|
echo OK
 |