basename (1)


NAME
SYNOPSIS
DESCRIPTION
OPERANDS
COPYRIGHT
Source Code

NAME

basename - return non-directory portion of a pathname

SYNOPSIS

basename

string [suffix]

DESCRIPTION

The basename utility prints the non-directory portion of a pathname. It prints the actual file name, discarded from the directory-part of the path. Optionally the basename utility discards the leading suffix of the string.

OPERANDS

The following operands are supported:

string

A string.

suffix

A string

COPYRIGHT

Copyright © 2021 Benjamin Stürz
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


Generated using groff on 2022-07-19 01:11:29 (UTC)

Look at my source code on GitHub Memes
This website is licensed under the terms of the AGPLv3.
Tor link: 3gto4zix3cpwhq32sh5ygsr3brlmgy4pdf26md46e4zpzfzmbftw3cyd.onion