- Feature Articles
- CodeSOD
- Error'd
-
Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
No, please elaborate. In detail.
Admin
Sure. And we all know the famous quote by Douglas Adams (in the fourth(?) hitchhiker book): The major difference between a thing that might go wrong and a thing that cannot possibly go wrong is that when a thing that cannot possibly go wrong goes wrong it usually turns out to be impossible to get at and repair.
Just one more example of it :-)
Admin
I would accept explanation this if bash also used do...od loops
Addendum (2013-11-07 07:35): "I would accept this explanation if" (doh)
Admin
If at first you succeed or don't succeed, try again regardless
Admin
oh snap!
Admin
Now, who told you bash was consistent? It's a shell scripting language, if you want consistency go use python... or perl.
Yeah, actually go use perl [image]
Admin
FTFY.
Admin
try { [...] } finally { return; }
Admin
That's going to work well.
Admin
So, wait... this script sucks. And it's still marginally better than the ones which come with Linux distros, which are totally and completely useless.
Par for the course; typical Open Source design. It would be more surprising if it worked properly.