This PR refactors the script to eliminate the if-else construct by using parameter expansion with a fallback to cat. The key changes include:
- Simplifying the script to improve readability and efficiency.
- Maintaining the original functionality with a cleaner approach.
These changes make the script more concise and maintainable.
This PR refactors the script to eliminate the if-else construct by using parameter expansion with a fallback to `cat`. The key changes include:
- Simplifying the script to improve readability and efficiency.
- Maintaining the original functionality with a cleaner approach.
These changes make the script more concise and maintainable.