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

Incorrect ${var%%"$suffix"} Behavior with Repeated Character Suffixes #833

Open
sizur opened this issue Mar 17, 2025 · 1 comment
Open
Labels
bug Something is not working

Comments

@sizur
Copy link

sizur commented Mar 17, 2025

str=aaaa && echo "${str%%aaa}"

Expected:

a

Observed:

aaaa
@McDutchie McDutchie added the bug Something is not working label Mar 20, 2025
@McDutchie
Copy link

Thanks for the report. Bug also confirmed in the AT&T release versions, so at least we didn't introduce it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working
Projects
None yet
Development

No branches or pull requests

2 participants