mirror of
				git://git.code.sf.net/p/zsh/code
				synced 2025-10-31 06:00:54 +01:00 
			
		
		
		
	41839: force IFS to default for "read"
This commit is contained in:
		
							parent
							
								
									b816291a17
								
							
						
					
					
						commit
						abd0040253
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -8,7 +8,7 @@ | |||
| # Written by Sweth Chandramouli with hacks by Bart Schaefer. | ||||
| 
 | ||||
| listalloptions () { | ||||
|    local OPT_NAME OPT_VALUE | ||||
|    local OPT_NAME OPT_VALUE IFS=$' \t\n' | ||||
|    builtin set -o | while read OPT_NAME OPT_VALUE ; do | ||||
|       if [[ ${OPT_NAME#no} != ${OPT_NAME} ]] ; then | ||||
| 	 OPT_VALUE=${(L)${${OPT_VALUE:s/on/OFF}:s/off/on}} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue