basename - (BSD) return non-directory portion of a pathname
Synopsis
Description
Environment Variables
See Also
/usr/ucb/basename string [suffix]
Basename deletes the directory part of the filename-like string and prints the result. If suffix is specified, and suffix matches the last part of the result, the matched portion of the fixed string string is also deleted.
LANG, LC_ALL See locale(7). LC_CTYPE Determines the mapping of bytes to characters.
dirname(1), grep(1), sh(1), locale(7)
Heirloom Toolchest | BASENAME (1B) | 9/22/03 |