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-li...@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

Reply via email to