summaryrefslogtreecommitdiffstats
path: root/usr.bin/what/what.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Processing $OpenBSD$ as well as sccs's @(#) is an OpenBSD extension, andkrw2015-01-221-2/+5
| | | | | | | should stop displaying the line at the 2nd '$'. Clarify intended behaviour in man page. ok millert@ beck@ deraadt@
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-14/+1
| | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
* add missing includesdavid2003-07-101-2/+3
| | | | ok deraadt@ tedu@
* mostly ansi cleanup; pval okderaadt2003-06-101-8/+5
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-031-7/+3
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* Update to conform to Posix 1003.1-2001.nino2003-05-021-11/+46
| | | | | | | | | | | | | | | | | | | | | * what now accepts a -s parameter which causes it to quit searching after finding the first match. * stdin is no longer valid for input, one or more filenames have to be provided. * Backslash is recoqnized as a pattern delimiter. * The exit status reflects the number of mathes found (0 if any matches were found, 1 otherwise). Also replace strncpy -> strlcpy. Mostly a sync with netbsd. Input pjanzen@, vincent@. ok millert@.
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-3/+3
|
* kill more registersmpech2001-11-191-3/+3
| | | | millert@ ok
* fix includesart1999-08-161-2/+4
|
* put the tab inderaadt1996-06-261-3/+3
|
* handle $OpenBSD$ rcsid... using uname too!deraadt1996-06-261-7/+29
|
* rcsidderaadt1996-06-261-1/+2
|
* initial import of NetBSD treederaadt1995-10-181-0/+95