add directory Minix

This commit is contained in:
gohigh
2024-02-19 00:21:39 -05:00
parent 56596ada90
commit 5a46ddb732
2923 changed files with 1764412 additions and 0 deletions

View File

@@ -0,0 +1,65 @@
Command: basename - strip off file prefixes and suffixes
Syntax: basename file [suffix]
Flags: (none)
Examples: basename /user/ast/file.c # Strips path to yield file.c
basename /user/file.c .c # Strips path and .c to yield file
The initial directory names (if any) are removed yielding the name
of the file itself. If a second argument is present, it is interpreted
as a suffix and is also stripped, if present. This program is primarily
used in shell scripts.