minor shell code style cleanup