News for hackers. Stuff that matters.
Re:Show HN: Janetsh – A new system shell by iBelieve on Monday May 13, 2019 @09:35AM (#19899059)
Looks like the last item in the all-files array is an empty string - maybe that's why? Either that, or the current directory (".") might be included as the first element.
Re:Show HN: Janetsh – A new system shell by codetrotter on Monday May 13, 2019 @10:16AM (#19899428)
If . was included then .. almost certainly would be as well. But an empty string at the end like you say and as explained by the sibling comment makes sense.