* Script Enhancements for Improved Portability and Readability 🔧
I made the following changes to improve portability, readability, and organization:
Replaced Double Square Brackets with Single Square Brackets:
Replaced [[ ... ]] with [ ... ] to ensure compatibility with various shell interpreters.
Simplified Nested If Statements:
Simplified nested if statements for better readability and clarity.
Used -p Option with read Command:
Utilized the -p option with the read command to display a prompt message directly on the same line. 💻
Consolidated Common Code:
Consolidated common code blocks to avoid repetition and improve maintainability.
* Forgot to add the x86 part.
---------
Co-authored-by: Casey Erdmann <14339392+3ndG4me@users.noreply.github.com>
I made the following changes to improve portability, readability, and organization:
Replaced Double Square Brackets with Single Square Brackets:
Replaced [[ ... ]] with [ ... ] to ensure compatibility with various shell interpreters.
Simplified Nested If Statements:
Simplified nested if statements for better readability and clarity.
Used -p Option with read Command:
Utilized the -p option with the read command to display a prompt message directly on the same line. 💻
Consolidated Common Code:
Consolidated common code blocks to avoid repetition and improve maintainability.