Date: Sun, 30 Jun 2002 06:40:36 -0700 (PDT) From: Juli Mallett <jmallett@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/basename basename.1 basename.c Message-ID: <200206301340.g5UDeagQ054628@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jmallett 2002/06/30 06:40:35 PDT
Modified files:
usr.bin/basename basename.1 basename.c
Log:
Make it possible to have this (basename(1)) perform basename(3) on multiple
files. The traditional behaviour, 'basename string .suffix', is preserved,
however a suffix may now also be specified via a getopt(3) option, -s, such
that if it is specified in that way, all string arguments follow. There is
also a new flag, -a, which allows a user to say "yes, please basename(3) on
all arguments". Update manual to reflect this unobtrusively.
Reviewed by: obrien
Revision Changes Path
1.13 +18 -0 src/usr.bin/basename/basename.1
1.12 +32 -8 src/usr.bin/basename/basename.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206301340.g5UDeagQ054628>
