Mark J. Reed wrote:
> 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
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 e
Tim McDaniel wrote:
> Given that the debug output has "attrib +S" but the code at top has
> "attrib +H", and that the debug output has "test 0 -gt 0" that the
> code doesn't have just before the loop exit, it is probably necessary
> for you to publish the actual code that's failing, even if it has
On Thu, 29 Jan 2009, Matthias Meyer wrote:
while IFS= read -r cLine
do
echo "$cLine"
attrib +H "$cLine"
done < restoreFiles.tmp
rm -f restoreFiles.tmp
will stop the while loop after the first call of attrib:
+ echo 'C:\Dokumente und
Einstellungen\Administrator\Anwendungsdaten\Mic
4 matches
Mail list logo