Mercurial > hg > toybox
changeset 408:8506c538f26a
Comment changes, and add a blank line to the help text.
author | Rob Landley <rob@landley.net> |
---|---|
date | Wed, 18 Jan 2012 20:32:52 -0600 |
parents | b8390ededd02 |
children | 55598a9b8f21 |
files | toys/basename.c |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/toys/basename.c Wed Jan 18 20:31:59 2012 -0600 +++ b/toys/basename.c Wed Jan 18 20:32:52 2012 -0600 @@ -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 @@ default n help usage: basename string [suffix] + Return non-directory portion of a pathname */