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

Merged
merged 1 commit into from
Jul 20, 2025

Conversation

prathamkankheria
Copy link
Contributor

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.

Copy link
Owner

@bobbyiliev bobbyiliev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Thanks!

@bobbyiliev bobbyiliev merged commit f1f104b into bobbyiliev:main Jul 20, 2025
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.

2 participants