DragonFly commits List (threaded) for 2007-08
DragonFly BSD
DragonFly commits List (threaded) for 2007-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Peter Avalos <pavalos@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 28 Aug 2007 08:36:44 -0700 (PDT)

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

DragonFly src repository

  Modified files:
    usr.bin/basename     basename.1 basename.c 
  Log:
  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".
  
  Add EXIT STATUS.
  
  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


http://www.dragonflybsd.org/cvsweb/src/usr.bin/basename/basename.1.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/basename/basename.c.diff?r1=1.10&r2=1.11&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]