summaryrefslogtreecommitdiffstats
path: root/usr.bin/what/what.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove the advertising clause from UCB copyrighted files in usr.bin. Thisjoel2010-12-111-4/+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
* Add a flag (-q) which prints no header for the file and which doesn't indent thejmallett2005-05-121-32/+53
| | | | | match text; it also doesn't warn() for files which can't be opened. Remove global variables. Use bool. fopen(3) the files instead of freopen(3)ing stdin.
* ANSIify function definitions.dwmalone2002-09-041-6/+4
| | | | | | | | | 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
* Sync synopsis with reality: file arguments are optional.tjr2002-05-291-1/+1
|
* remove __Pimp2002-03-221-2/+2
|
* Use __FBSDID(). remove WARNS=2 as this is going to be default.markm2001-12-111-6/+6
|
* Add usage().charnier2000-03-261-3/+9
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Make compatible with standard what command:rnordier1998-05-041-8/+31
| | | | | | | | | Implement -s option Keep going if a file is not found Append ':' to printed filenames Include backslash in terminal characters Make exit status dependent on a match having been found Revise manpage accordingly
* Use err(3).charnier1997-08-251-5/+12
|
* Remove trailing whitespace.rgrimes1995-05-301-1/+1
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+86
OpenPOWER on IntegriCloud