Beta
BASH commands: Wildcards I
Loading description...
Algorithms
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
There's a general convention to return zero when everything is ok (one way to do it) or when error has occured (many ways, hence many numbers).
I'm pretty sure this is a duplicate as well. I vaguely remember doing an exact same task in Python or some similar language with
"."
instead of"?"
.Tests shouldn't log anything.
Tests throw warnings.
It's not clear whether the pattern will always have the same length as the filename.
This says nothing about the actual function inputs.
Yeah, you're right. What's bad in assuming that they can be of any length, and for valid match they gotta be same?
Please remove all the compiler warnings caused by test code
This comment has been hidden.
BTW: I like your idea of extending criterion.
Do you know a good alternative to your
_write_t_buf(what)
assignment trick in thedescribe
,context
andit
macros? I like to solve and translate some katas on my computer and my compiler warns a lot that there is aunused variable ‘_’
inDanke sehr, Siebenschlaefer!
I will address the issues immediately.
Let me think a little how I could help you and come back with an answer in a few.
I think this should fix it:
Please let me know if it works for you.
I will update the test suite now. Thank you for letting me know!
Yes, that does it. Thank you very much! BTW: Are you on Gitter?
Thank you very much! I will update all of the katas using the suite right now.
You've coded up a cool solution there, btw!
Indeed, I'm on Gitter, same nickname as here:
lilsweetcaligula
. If you'd like, I could send you a PM on Gitter right now so it'll be easier for you to find me.This comment has been hidden.