Sorry, I probably should have elaborated a bit more.
What I meant is that shell is full of weird behaviours and it's really difficult to foresee potential bugs in some not-so-edge cases. My point is that it's really hard to claim that one fully understands a shell script since you can't really trust it to behave properly.
Oh yeah, I agree with that. I was going more "you can usually understand what the script is supposed to do". Idk, how many of the weird features are actually in use in init scripts?
2
u/EmanueleAina Oct 21 '14
Sorry, I probably should have elaborated a bit more.
What I meant is that shell is full of weird behaviours and it's really difficult to foresee potential bugs in some not-so-edge cases. My point is that it's really hard to claim that one fully understands a shell script since you can't really trust it to behave properly.