aboutsummaryrefslogtreecommitdiff
path: root/man/basename.1
blob: 75cdb8745c3c3af31cb79002b6d4ae7940c8a392 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
BASENAME(1) "fases core"

# NAME

basename \- Return non-directory portion of a pathname

# SYNOPSIS

*basename* _string_ [*suffix*]

# DESCRIPTION

Return non-directory portion of the *string* pathname.

# EXAMPLES

*basename /bin/sh*
	Return non-directory portion ("sh").

*basename /usr/bin/basename name*
	Remove the suffix "name" from "basename" and return "base".

# AUTHOR

Written by Ferass EL HAFIDI as part of the fases 
project.

Source code is at http://git.vitali64.duckdns.org/utils/fases.git.

# COPYRIGHT

Copyright (C) 2022 Ferass EL HAFIDI