Improved bash compatibility and corrected missing line.

I should not have copied directly from nano -.-

Could someone please check the bash comparison? I'm never sure how to do that stuff correctly…