e2140ec |
Jamozed |
2022-03-06 15:27:45 |
0
|
.TH BASENAME 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
1
|
.SH NAME |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
2
|
basename \(em return the non-directory portion of a path |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
3
|
.SH SYNOPSYS |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
4
|
\fBbasename\fR \fIstring\fR [\fIsuffix\fR] |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
5
|
.SH DESCRIPTION |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
6
|
Print the non-directory portion of a given path. |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
7
|
.SH OPTIONS |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
8
|
The following options are supported: |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
9
|
.TP |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
10
|
.B --help |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
11
|
Display help information. |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
12
|
.TP |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
13
|
.B --version |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
14
|
Display version information. |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
15
|
.SH OPERANDS |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
16
|
The following operands are supported: |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
17
|
.TP |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
18
|
.I string |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
19
|
A path. |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
20
|
.TP |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
21
|
.I suffix |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
22
|
A suffix to be removed from the output. |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
23
|
.SH EXIT STATUS |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
24
|
The following exit values will be returned: |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
25
|
.TP |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
26
|
\ 0 |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
27
|
Successful completion. |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
28
|
.TP |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
29
|
>0 |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
30
|
An error occurred. |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
31
|
.SH STANDARDS |
35a6103 |
Jamozed |
2020-06-27 00:36:30 |
32
|
The \fIbasename\fR utility is compliant with the IEEE Std 1003.2-1992 |
35a6103 |
Jamozed |
2020-06-27 00:36:30 |
33
|
("POSIX.2") specification. |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
34
|
.SH COPYRIGHT |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
35
|
.nf |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
36
|
Copyright (C) 2020, Jakob Wakeling |
e2140ec |
Jamozed |
2022-03-06 15:27:45 |
37
|
MIT Licence (https://opensource.org/licenses/MIT) |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
38
|
.fi |
|
|
|
39
|
|