basename
Return non-directory portion of a pathname removing suffix. toybox
On Linux
Linux
basename [-a] [-s SUFFIX] NAME... | NAME [SUFFIX]
-aAll arguments are names-s SUFFIXRemove suffix (implies -a)Return non-directory portion of a pathname removing suffix. toybox
On Linux
basename [-a] [-s SUFFIX] NAME... | NAME [SUFFIX]
-aAll arguments are names-s SUFFIXRemove suffix (implies -a)