1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 21:44:58 +02:00

Merge pull request #797 from oxguy3/patch-3

basename: add page
This commit is contained in:
Leandro Ostera 2016-02-23 11:58:53 +01:00
commit 575bb74103

11
pages/common/basename.md Normal file
View file

@ -0,0 +1,11 @@
# basename
> Returns non-directory portion of a pathname.
- Show only the file name from a path:
`basename {{path/to/file}}`
- Show only the file name from a path, with a suffix removed:
`basename {{path/to/file}} {{suffix}}`