CamelCase to snake_case refactoring based on Google style guide for bash