mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 19:47:17 +02:00
426 B
426 B
Name
basename - strip directory names from path
Synopsis
$ 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
$ basename /
/
$ basename ~
anon
$ basename Source/js/array.js
array.js