coreutils/src/basename
Joseph Crail 3abf19a595 Fix basename when trailing slashes are present.
The GNU implementation first strips all trailing slashes before deleting
the directory portion. This case wasn't handled.

I also rewrote the method that strips the directory to use the PathBuf
methods for improved platform-indepedence.
2015-05-09 13:23:48 -04:00
..
basename.rs Fix basename when trailing slashes are present. 2015-05-09 13:23:48 -04:00