Commit Graph

25 Commits

Author SHA1 Message Date
ru
19aa3916e2 Markup and wording fixes.
Approved by:	re (blanket)
2005-06-14 11:50:53 +00:00
jmallett
85f5689fb5 Add a flag (-q) which prints no header for the file and which doesn't indent the
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.
2005-05-12 18:57:37 +00:00
ru
6cc4b6c220 Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
ru
fb1d8b3724 Mechanically kill hard sentence breaks. 2004-07-02 22:22:35 +00:00
ru
b67068895d mdoc(7) police: markup polishing.
Approved by:	re
2002-11-26 17:33:37 +00:00
dwmalone
b4339b74ad ANSIify function definitions.
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
2002-09-04 23:29:10 +00:00
tjr
4dce1a540c Document standards conformance. 2002-05-29 13:45:16 +00:00
tjr
83600f5b2c style(9): Sort sections correctly, exit status info into DIAGNOSTICS section. 2002-05-29 13:39:34 +00:00
tjr
eac28cf68c Sync synopsis with reality: file arguments are optional. 2002-05-29 13:33:48 +00:00
imp
0b20191705 remove __P 2002-03-22 01:42:45 +00:00
markm
496247b54e Use __FBSDID(). remove WARNS=2 as this is going to be default. 2001-12-11 22:25:43 +00:00
ru
36f138439b mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
dd
fdda055e00 Set WARNS=2 on programs that compile cleanly with it; add $FreeBSD$
where necessary.

Submitted by:	Mike Barcroft <mike@q9media.com>
2001-06-30 05:39:36 +00:00
charnier
a6390ef211 Add usage(). 2000-03-26 15:04:35 +00:00
peter
3b842d34e8 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
rnordier
bb6e1ba0c0 Make compatible with standard what command:
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
1998-05-04 22:26:56 +00:00
phk
72bef97abd add strings(1) to what(1) "SEE ALSO"
PR:		6289
Reviewed by:	phk
Submitted by:	Josh Gilliam <josh@quick.net>
1998-04-14 06:31:23 +00:00
charnier
f320b3a306 Just forgot a moment that mdoc macros are limited to 9 parameters.
Found by: Bruce.
1997-08-26 07:04:20 +00:00
charnier
e779aaeea3 Use err(3). 1997-08-25 06:49:45 +00:00
max
75b31142c1 Typo fix.
PR:		3684
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1997-05-25 18:47:33 +00:00
peter
f390c26dd9 Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
jkh
808a36ef65 Make the long-awaited change from $Id$ to $FreeBSD$
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.
1997-01-14 07:20:47 +00:00
wosch
6147912add Add a reference to ident(1). 1996-06-30 16:06:44 +00:00
rgrimes
a14d555c87 Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
rgrimes
f9ab90d9d6 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00