s6-portable-utils
Software
skarnet.org

The s6-basename program

s6-basename prints the basename of a pathname.

Interface

     s6-basename [ -n ] path [ suffix ]

s6-basename acts as the generic basename utility.

Extra options

Posixness

s6-basename is suitable as a Single Unix basename program.