This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]