For what it's worth, I've had intermittent problems with bash and while read loops where the loop aborts after one iteration whenever there's nontrivial code in the loop body, on multiple platforms, not just Cygwin. So this might not be a Cygwin issue. I've never been ble to isolate the problem enough to file a bug report, unfortunately.
2009/1/29 Matthias Meyer : > The output: > $ sh -x /etc/setAttribute > + read -r cLine > + echo '+S:C:\Dokumente' und > 'Einstellungen\Administrator\Anwendungsdaten\Microsoft\Credentials\S-1-5-21-1606980848-1532298954-1801674531-500' > +S:C:\Dokumente und > Einstellungen\Administrator\Anwendungsdaten\Microsoft\Credentials\S-1-5-21-1606980848-1532298954-1801674531-500 > + attrib +S 'C:\Dokumente und > Einstellungen\Administrator\Anwendungsdaten\Microsoft\Credentials\S-1-5-21-1606980848-1532298954-1801674531-500' > + read -r cLine > + exit > -- Mark J. Reed <markjr...@gmail.com> -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/