[bash] Whitespace cleanup.
[bash] Style cleanup in functions.
[bash] Check if the non-standard utilities are installed (continued).