We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There should be way more examples for bash string usage:
${foo:2} ${foo%…} ${foo#…} ${foo##…}
${foo:2}
${foo%…}
${foo#…}
${foo##…}
etc.
The text was updated successfully, but these errors were encountered:
Ah, parameter expansion is great. All but the first feature isn't exclusive to BASH though, as they're also available in Bourne Shell.
Sorry, something went wrong.
This is a very very useful contribution. Maybe we should move it to bash/expansion or shell/expansion ?
bash/expansion
shell/expansion
Could do, since that would allow it to cover parameter expansion, brace expansion, tilde expansion, etc.
No branches or pull requests
There should be way more examples for bash string usage:
${foo:2}
${foo%…}
${foo#…}
${foo##…}
etc.
The text was updated successfully, but these errors were encountered: