Files
oldlinux-files/Linux-0.98/Yggdrasil-0.98.3/usr/man/man1/basename.1
2024-02-19 00:21:16 -05:00

24 lines
426 B
Groff

.TH BASENAME 1L
.SH NAME
basename \- strip directory and suffix from filenames
.SH SYNOPSIS
.B basename
name [suffix]
.SH DESCRIPTION
This manual page
documents the GNU version of
.BR basename .
The
.B basename
command removes any leading path from
.IR name ;
If
.I suffix
is specified and is identical to the end of
.IR name ,
it is removed from
.I name
as well.
.B basename
prints the resulting name on the standard output.