basename(1) General Commands Manual basename(1)

basename - Print NAME with any leading directory components removed If specified, also remove a trailing SUFFIX

basename [-a|--multiple] [-s|--suffix] [-z|--zero] [-h|--help] [-V|--version] [name]

Print NAME with any leading directory components removed If specified, also remove a trailing SUFFIX

support multiple arguments and treat each as a NAME
remove a trailing SUFFIX; implies -a
end each output line with NUL, not newline
Print help
Print version

v0.0.26

basename 0.0.26