]> pd.if.org Git - pdutils/blob - posix/basename/basename.1
rename utils to posix
[pdutils] / posix / basename / basename.1
1 .TH BASENAME 1 "2008-1.01" "pdcore utilities" "User Commands"
2 .SH NAME
3 basename \- return non-directory portion of a pathname
4 .SH SYNOPSIS
5 .B basename
6 string [suffix]
7 .SH DESCRIPTION
8 Return the filename portion of a path/filename string, optionally stripping
9 a suffix from the returned filename.
10 .SH OPTIONS
11 .TP
12 None
13 .SH OPERANDS
14 .TP
15 string
16 Input pathname
17 .TP
18 suffix
19 Suffix to strip from filename after path component removed.
20 .SH "AUTHORITATIVE DOCUMENTATION"
21 <http://www.opengroup.org/onlinepubs/9699919799/utilities/basename.html>
22 .SH VERSION AND COMPLIANCE
23 Utility version 1.01
24 .P
25 Functional compliance with POSIX:2008 (IEEE Std 1003.1-2008;
26 Shell and Utilities, Base Specifications Issue 7).
27 .SH UNLICENSE
28 This is free and unencumbered software released into the public domain,
29 provided "as is", without warranty of any kind, express or implied. See the
30 file UNLICENSE and the website <http://unlicense.org> for further details.