Documentation
¶
Overview ¶
Package basename implements the `basename` built-in.
Forms (POSIX + GNU):
basename NAME [SUFFIX] basename -a NAME... basename -s SUFFIX NAME...
Trailing slashes are stripped before extracting the basename (matching coreutils). When SUFFIX is supplied it is removed from the result only if the result is longer than SUFFIX (so `basename .x .x` returns ".x", not "").
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.