projects
/
platform
/
upstream
/
toybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b983f3
)
Comment changes, and add a blank line to the help text.
author
Rob Landley
<rob@landley.net>
Thu, 19 Jan 2012 02:32:52 +0000
(20:32 -0600)
committer
Rob Landley
<rob@landley.net>
Thu, 19 Jan 2012 02:32:52 +0000
(20:32 -0600)
toys/basename.c
patch
|
blob
|
history
diff --git
a/toys/basename.c
b/toys/basename.c
index
db70a5e
..
b5ace42
100644
(file)
--- a/
toys/basename.c
+++ b/
toys/basename.c
@@
-1,6
+1,11
@@
/* vi: set sw=4 ts=4:
*
- * basename.c
+ * basename.c - Return non-directory portion of a pathname
+ *
+ * Copyright 2012 Tryn Mirell <tryn@mirell.org>
+ *
+ * See http://opengroup.org/onlinepubs/9699919799/utilities/basename.html
+
USE_BASENAME(NEWTOY(basename, NULL, TOYFLAG_USR|TOYFLAG_BIN))
@@
-9,6
+14,7
@@
config BASENAME
default n
help
usage: basename string [suffix]
+
Return non-directory portion of a pathname
*/