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

Exclude . and .. from pathname expansion results #97

Open
Tracked by #84
magicant opened this issue Dec 22, 2024 · 0 comments
Open
Tracked by #84

Exclude . and .. from pathname expansion results #97

magicant opened this issue Dec 22, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@magicant
Copy link
Owner

magicant commented Dec 22, 2024

Current behavior:

  • Expansion of .* includes . and ..

Expected behavior:

  • Expansion of .* does not include . or ..

Reference:

Rationale:

  • The new behavior is not strictly required by POSIX.1-2024, but it is suggested that the new behavior may be required in the future. Since bash, ksh, mksh, and zsh already filter out . and .., it would be high time for us to support it.
@magicant magicant added the good first issue Good for newcomers label Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant