Skip to content
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

interp: Return invalid globs when nullglob is set #862

Merged
merged 1 commit into from
May 19, 2022

Commits on May 19, 2022

  1. interp: Return invalid globs when nullglob is set

    Prior to this commit invalid globs were returned as null when nullglob
    was set, which resulted in test expressions failing:
    
      $ shopt -s nullglob; [ -n butter ] && echo bubbles
      "-n": executable file not found in $PATH
    
    After this commit invalid globs are returned verbatim when nullglob is
    set.
    lollipopman committed May 19, 2022
    Configuration menu
    Copy the full SHA
    4c09ea9 View commit details
    Browse the repository at this point in the history