Minor tabs to spaces fix in manual(1).
Tidy whitespace in shared.
Change calls to source to . in shared.
Also remove boilerplate function at end of shared execution.