Skip to content

Update 016-creating-an-interactive-menu-in-bash.md #176

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

prathamkankheria
Copy link

I updated this line *) echo -e "${red}Wrong option.${clear}"; menu ;; and red variable was not defined so i added it

I updated this line *) echo -e "${red}Wrong option.${clear}"; menu ;;
and red variable was not defined
Copy link

what-the-diff bot commented Jul 18, 2025

PR Summary

  • Introduction of a new color variable
    A new variable red has been included to represent the color red in the system.

  • Redefinition of error messaging
    The update includes changes to print error messages with consistent color formatting. Now, the red variable is used in echo commands to indicate incorrect options.

  • Stricter adherence to string formatting conventions
    Adhering to best practices, now all the text messages in echo commands will be surrounded by double quotes. This change ensures correct and expected handling of these messages in the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant