IFS/read dash bug (was Re: Problems with the new base-files-4.0-5?)

Cyrille Lefevre cyrille.lefevre-lists@laposte.net
Sun Mar 20 09:19:00 GMT 2011


Le 18/03/2011 14:46, David Sastre a écrit :

>> [ -e "${p}" ]&&  IFS=',' read -r PRINTER dummy<  "${p}"
>
> Works in bash, posh, mksh and zsh, but fails (at least for me) in
> dash.

regarding SUSv3, read is not a special builtin, so, should work under 
every shell, if that fails under dash, it should be fixed.

Regards,

Cyrille Lefevre
-- 
mailto:Cyrille.Lefevre-lists@laposte.net



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list