Files
bare-operating-system/packages/bare-os-coreutils/man/pages/basename.json
T

26 lines
618 B
JSON

{
"name": "basename",
"section": 1,
"title": "strip directory and suffix from pathnames",
"synopsis": [
"basename [OPTION]... [OPERAND]..."
],
"description": "Bare OS implementation of strip directory and suffix from pathnames. Full behavior is defined in packages/bare-os-coreutils/src/basename.js.",
"options": [],
"keywords": [
"basename",
"bare-os",
"coreutils"
],
"examples": [
{
"caption": "strip directory",
"code": "basename /home/user/docs/readme.md"
},
{
"caption": "strip suffix",
"code": "basename -s .md /path/readme.md"
}
]
}