![]() |
![]()
| ![]() |
![]()
NAMEbasename - (BSD) return non-directory portion of a pathnameSYNOPSIS/usr/local/heirloom/usr/ucb/basename string [suffix]DESCRIPTIONBasename 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.ENVIRONMENT VARIABLES
SEE ALSOdirname(1), grep(1), sh(1), locale(7)
|