Everyone's favourites, true and false! And then something a little more involved.
Also tweak tools/gen.js to include the copyright block, since running it otherwise removes that copyright.
I don't know how you feel about including spec comments in code, but I've done so for basename since the spec provides a numbered list of steps to follow. I can remove that if you'd prefer.
Also, I don't think there is an existing system for testing these shell utilities but I might just have missed it. :sweat_smile:
Let me know if anything I'm doing is wrong or I'm missing something! For example I haven't touched meta/versions.js here, but maybe I should have.
Everyone's favourites,
true
andfalse
! And then something a little more involved.Also tweak
tools/gen.js
to include the copyright block, since running it otherwise removes that copyright.I don't know how you feel about including spec comments in code, but I've done so for
basename
since the spec provides a numbered list of steps to follow. I can remove that if you'd prefer.Also, I don't think there is an existing system for testing these shell utilities but I might just have missed it. :sweat_smile:
Let me know if anything I'm doing is wrong or I'm missing something! For example I haven't touched
meta/versions.js
here, but maybe I should have.