basename

version: 0.0.9
basename [OPTIONS]

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

Options

--help, -h

Print help information

--version, -V

Print version information

--multiple, -a

support multiple arguments and treat each as a NAME

--suffix=<SUFFIX>, -s <SUFFIX>

remove a trailing SUFFIX; implies -a

--zero, -z

end each output line with NUL, not newline