[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
basename
: Strip directory and suffix from a file name
basename
removes any leading directory components from
name. Synopsis:
basename name [suffix] |
If suffix is specified and is identical to the end of name,
it is removed from name as well. basename
prints the
result on standard output.
The only options are `--help' and `--version'. See section 2. Common options.