Skip to content

Exclude . and .. from pathname expansion results #97

Closed
@magicant

Description

@magicant

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions