aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/makewhatis
Commit message (Collapse)AuthorAgeFilesLines
* MFC of 1.11Edwin Groothuis2007-10-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Teach makewhatis.c to treat .SS with the same severity as .SH. At least one port (net-mgmt/net-snmp) creates man-pages which are in the format: .SH NAME The Net-SNMP agent \- The snmp agent responds to SNMP queries from manag ement stations. .PP .SS "Modules" At this moment, makewhatis determines the end of the .SH NAME section as where it finds .SH again, but there is none here, is it "terminated" by the .SS. PR: bin/116706 Submitted by: edwin@ Notes: svn path=/stable/6/; revision=172947
* Added the EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-171-1/+1
| | | | Notes: svn path=/head/; revision=140368
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-1/+2
| | | | Notes: svn path=/head/; revision=131491
* Removed trailing whitespace.Ruslan Ermilov2004-07-021-4/+4
| | | | Notes: svn path=/head/; revision=131472
* Install /usr/libexec/makewhatis.local and /usr/libexec/catman.local.Ruslan Ermilov2002-11-181-3/+8
| | | | | | | | | This has slipped through the cracks of The Great Perl Script Rewrite. Repocopied by: joe Notes: svn path=/head/; revision=107053
* ANSIify function definitions.David Malone2002-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 Notes: svn path=/head/; revision=102944
* The .Nm utilityPhilippe Charnier2002-07-141-3/+5
| | | | Notes: svn path=/head/; revision=99970
* Remove a debug output statement.Robert Drehmel2002-07-071-4/+0
| | | | Notes: svn path=/head/; revision=99533
* - Fix the code in sbuf_need() to double the allocation size untilRobert Drehmel2002-07-071-9/+17
| | | | | | | | | | | | the new content size fits into the sbuf, instead of assuming that allocating twice the old size is enough. - Use memmove(3) rather than strcpy(3) to copy overlapping strings. PR: bin/39930 Notes: svn path=/head/; revision=99532
* Use size_t or ino_t instead of int, and remove a few warnings.Giorgos Keramidas2002-06-071-4/+4
| | | | | | | | | The makewhatis utility is now ok with WARNS=3. Reviewed by: bde Notes: svn path=/head/; revision=97976
* Unroff all forms of \f and \*, and the simplest form of \s.Ruslan Ermilov2002-05-221-8/+14
| | | | | | | | Submitted by: fenner, ru Reviewed by: ru, fenner Notes: svn path=/head/; revision=97102
* Style.Ruslan Ermilov2002-05-201-3/+2
| | | | Notes: svn path=/head/; revision=97002
* Fix markup.Ruslan Ermilov2002-05-181-11/+19
| | | | | | | | Give Wolfram a credit for writing the original version in Perl like in killall(1). Notes: svn path=/head/; revision=96863
* More whitespace fixes.Ruslan Ermilov2002-05-181-1/+3
| | | | Notes: svn path=/head/; revision=96861
* Fixed spacing.Ruslan Ermilov2002-05-181-0/+1
| | | | Notes: svn path=/head/; revision=96859
* Look into machine specific subdirs.Ruslan Ermilov2002-05-182-1/+13
| | | | Notes: svn path=/head/; revision=96858
* Add C rewrites of catman and makewhatis. These aren't quite asMark Murray2002-05-183-0/+1141
| | | | | | | | | | the submitter supplied them, as I did some WARNS=n fixups (mostly const-ification). Submitted by: John Rochester <john@jrochester.org> Notes: svn path=/head/; revision=96845
* mdoc(7) police: removed punctuation after the last SEE ALSO xref.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79557
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79528
* mdoc(7) police: removed history info from the .Os call.Ruslan Ermilov2000-12-141-1/+1
| | | | Notes: svn path=/head/; revision=70013
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-2/+2
| | | | Notes: svn path=/head/; revision=68938
* $Id$ -> $FreeBSD$Peter Wemm1999-08-272-2/+2
| | | | Notes: svn path=/head/; revision=50472
* Reflect the change from the /etc/weekly to /etc/periodic/weekly/*.Nik Clayton1999-07-302-12/+22
| | | | | | | | PR: docs/12734 Submitted by: Alexey M. Zelkin <phantom@scorpion.crimea.ua> Notes: svn path=/head/; revision=49297
* Fix a minor nit in the .Dd macro invocation so thatSteve Price1997-06-231-2/+2
| | | | | | | the revision date is displayed correctly. Notes: svn path=/head/; revision=26827
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-222-2/+2
| | | | Notes: svn path=/head/; revision=22996
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-142-2/+2
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=21673
* Minor formatting fixes.Mike Pritchard1996-12-091-12/+5
| | | | | | | Submitted by: Sandro Sigala <sandro@cat.local.net> as part of PR # 2134. Notes: svn path=/head/; revision=20241
* sync copyright with /usr/share/examples/etc/bsd-style-copyrightWolfram Schneider1996-08-272-4/+49
| | | | Notes: svn path=/head/; revision=17849
* New option -append: teach makewhatis to only add records, insteadWolfram Schneider1996-05-222-1/+56
| | | | | | | | | | | of clobbering the entire database. sort options in alphabetic order. install manpage makewhatis.local.8 Notes: svn path=/head/; revision=15857
* Bugfix: nested *?+ in regexp at /usr/bin/makewhatis line 286Wolfram Schneider1996-05-121-0/+35
Submitted by: invalid opcode <coredump@nervosa.com> makewhatis.local - start makewhatis(1) only for file systems physically mounted on the system Running makewhatis from /etc/weekly for rw nfs-mounted /usr may kill your NFS server -- all clients start makewhatis at the same time! So use this wrapper instead calling makewhatis directly. Pointed out by: Bruce Notes: svn path=/head/; revision=15755