1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 19:57:44 +00:00

Base: Add more manpages for command-line utilities

This commit is contained in:
Maciej Zygmanowski 2021-05-31 17:16:21 +02:00 committed by Gunnar Beutner
parent 5d8585df97
commit 57340dda36
25 changed files with 749 additions and 0 deletions

View file

@ -0,0 +1,28 @@
## Name
basename - strip directory names from path
## Synopsis
```**sh
$ basename <path>
```
## Description
`basename` prints basename (filename, stripped of preceding directory names) of specified `path` to standard output. The path does not have to exist.
## Arguments
* `path`: The path which we want to get basename of
## Examples
```sh
$ basename /
/
$ basename ~
anon
$ basename Source/js/array.js
array.js
```