/usr/lib/s9fes/help/basename is in scheme9 2010.11.13-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 | S9 LIB (basename string) ==> string
(basename string string2) ==> string
Return the rightmost component of the path name given in STRING.
When STRING2 is given also remove a STRING2 suffix (if any) from
STRING.
(basename "/foo/bar/baz") ==> "baz"
(basename "/goo/bar.Z" ".Z") ==> "bar"
|