Repository navigation
Conversation
Member
|
This message looks good to me, but the output in tests/test5.err also needs to be adjusted. |
Contributor
|
I fixed the unit test and merged as commit 63a851c. |
1 of 3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I was trying
rm -i **.orig **\# **/*\~which errored withNo matches for wildcard “**.orig”., while I wanted it to proceedwith whatever did match - and had no idea how to achieve that.
discussions, not all related. Eventually I found the long Failed wildcards still execute #2394
and learnt the terms "failglob" / "nullglob" and the
set,countand
forexceptions.but it hadn't occurred to me to look there, or what portion to read
(well duh the section on globbing, but I didn't expect the rule has
exceptions).
This PR mentions the 3 exceptions briefly in the error message itself:
I'm afraid my wording is unclear but at least it gives some lead?
I'm strongly tempted to instead give a concrete example:
since if you know that, you can achieve nullglob anywhere.
But I'm concerned that mentioning only one way would lead to people
assuming that's all there is and never learning about
count,for.