cvs commit: src/usr.bin/basename basename.1 basename.c

Peter Avalos pavalos at
Tue Aug 28 08:38:09 PDT 2007

pavalos     2007/08/28 08:36:44 PDT

DragonFly src repository

  Modified files:
    usr.bin/basename     basename.1 basename.c 
  Sync with FreeBSD.
  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".
  Cross-reference basename(3) and dirname(3).
  Obtained-from:  FreeBSD
  Revision  Changes    Path
  1.7       +24 -4     src/usr.bin/basename/basename.1
  1.11      +25 -9     src/usr.bin/basename/basename.c

More information about the Commits mailing list