wp.jochen.hayek.name/blog-en

shell script pitfall: “elsif” instead of “elif”

I know, that shouldn’t happen to a skilled shell script programmer, but it happened right now …

The “funny” thing was, that bash mourned about a syntax error only at the next “then”.

Of course, I can very well explain myself why that is, but still:
Handling this error is “sub-optimal”, isn’t it?

Exit mobile version