You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new behavior is not strictly required by POSIX.1-2024, but it would be desirable to always report the error rather than to proceed as if the expansion did not occur.
The text was updated successfully, but these errors were encountered:
magicant
changed the title
Reject if a redirection operand expands to more than one field in an interactive shell *
Reject if a redirection operand expands to more than one field in an interactive shell
Dec 22, 2024
Assume we have two files named
foo
andbar
in the current working directory. Type: <*
in an interactive shell.Current behavior:
posixly_correct
option is on, the shell tries to open a file named*
filename `*' matches more than one file
Expected behavior:
filename `*' matches more than one file
regardless of theposixly_correct
optionReference:
Rationale:
The text was updated successfully, but these errors were encountered: