BASENAME(1B) | BSD System Compatibility | BASENAME(1B) |
basename - (BSD) return non-directory portion of a pathname
/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.
dirname(1), grep(1), sh(1), locale(7)
9/22/03 | Heirloom Toolchest |