3 ms·
> You should support bash's double-star wildcard, which works recursively It depends on what the educational goals are, but alternatively OP could swing on the
by zokier 10y ago
> You should support bash's double-star wildcard, which works recursively
It depends on what the educational goals are, but alternatively OP could swing on the opposite direction and go with a very vanilla POSIX sh style shell (maybe dash) to discourage bashisms.
I might of course be bit biased because `find` is one of my favorite utils (generally with -exec instead of -print0|xargs -0) and I practically never use newfangled doublestar globbing
- JoshTriplett 10y agoTeaching efficient bash usage and teaching portable shell scripting seem related but distinct. This challenge specifically mentions that it uses bash.
- zokier 10y agoYes sure, I wasn't trying to say that going full bash is a bad thing. I was merely presenting an alternative.