GNU `basename` outputs a `.` if the path ends with `/.` whereas uutils `basename` doesn't. ``` $ basename hello/. . $ basename /. . $ cargo run -q basename hello/. hello $ cargo run -q basename /. / ```