practices for bash programming