summaryrefslogtreecommitdiffstats
path: root/usr.bin/basename
Commit message (Collapse)AuthorAgeFilesLines
* Remove the advertising clause from UCB copyrighted files in usr.bin. Thisjoel2010-12-112-8/+0
| | | | | | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson
* Alow dirname(1) to accept multiple arguments in the same way thatrwatson2009-02-021-0/+1
| | | | | | | | | | | basename(1) does. (Two different PRs contained identical patches, both cited below) PR: 121520, 86148 Submitted by: Ighighi <ighighi at gmail dot com> Submitted by: Leif Neland <leif at neland dot dk> MFC after: 3 days
* Cross-reference basename(3) and dirname(3).jkoshy2006-03-161-1/+3
|
* Sort sections.ru2005-01-181-2/+2
|
* Added the EXIT STATUS section where appropriate.ru2005-01-171-1/+1
|
* Ensure that suffix matches occur on character boundaries.tjr2004-07-151-4/+32
|
* Deal with double whitespace.ru2004-07-031-1/+1
|
* ANSIify function definitions.dwmalone2002-09-041-4/+2
| | | | | | | | | Add some constness to avoid some warnings. Remove use register keyword. Deal with missing/unneeded extern/prototypes. Some minor type changes/casts to avoid warnings. Reviewed by: md5
* Remove local prototypes for main().jmallett2002-08-191-1/+0
|
* Make it possible to have this (basename(1)) perform basename(3) on multiplejmallett2002-06-302-8/+50
| | | | | | | | | | 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
* Use `The .Nm utility'charnier2002-04-191-5/+7
|
* remove __Pimp2002-03-221-2/+2
|
* Remove leaf node WARNS?=2 (that mainly I added). This shouldmarkm2002-02-081-1/+0
| | | | help the GCC3 transition and CURRENT in general.
* Style improvements recommended by Bruce as a follow up to somedwmalone2001-12-101-5/+6
| | | | | | | | of the recent WARNS commits. The idea is: 1) FreeBSD id tags should follow vendor tags. 2) Vendor tags should not be compiled (though copyrights probably should). 3) There should be no blank line between including cdefs and __FBSDIF.
* Use __FBSDID().markm2001-12-031-3/+5
|
* mdoc(7) police: utilize the new .Ex macro.ru2001-08-151-5/+1
|
* Remove whitespace at EOL.dd2001-07-151-2/+2
|
* Set WARNS=2 on programs that compile cleanly with it; add $FreeBSD$dd2001-06-301-2/+3
| | | | | | where necessary. Submitted by: Mike Barcroft <mike@q9media.com>
* Include missing header files which define functions for which gcc hasdd2001-06-241-0/+1
| | | | | | builtins (e.g., exit). Submitted by: Mike Barcroft <mike@q9media.com>
* Silence WARNS=2 and BDECFLAGS on alpha and i386kris2001-05-201-0/+1
| | | | MFC after: 1 week
* mdoc(7) police: utilize .St macro.ru2001-02-261-1/+3
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* Fix suffix matching.des2000-10-121-2/+7
| | | | | | | Restore historical behaviour when the first argument is an empty string. Submitted by: Alexander N. Kabaev <ak03@gte.com> Pointed out by: bde
* Reintroduce functionality and error checks that were boneheadedly removeddes2000-09-061-1/+8
| | | | | | in the previous commit. Pass me the pointy hat. PR: bin/21061
* Use basename(3).des2000-09-031-62/+4
|
* Add DIAGNOSTICS section namecharnier2000-03-261-4/+4
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).archie1998-12-062-2/+3
|
* PR: 4866danny1998-04-141-11/+9
| | | | | Submitted by: fenner Make man page reflect reality.
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* This commit was generated by cvs2svn to compensate for changes in r23690,peter1997-03-111-1/+2
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import some parts of CSRG 4.4BSD-Lite2 usr.bin sources to fix tree build.peter1997-03-111-1/+2
| |
* | Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
| |
* | Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* | add missing comma(s) in .Xr macroswosch1996-09-231-1/+2
|/
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-273-0/+241
OpenPOWER on IntegriCloud