David Hobach:
[...]
> Btw I now believe that the {echo in the original example is considered
> a string and the second } closes the function.

Yes.

> I just don't understand why the case/esac can be used to remove the
> syntax error caused by the double } }. But oh well...

See my previous mail. It's a syntax error. But the first case matches
and after the 'exit 1' bash terminates and never parses the following
lines.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-devel/d56b197d-5cdb-f9a7-8045-f1bc69c61675%40ipsumj.de.

Reply via email to