lukem
0c4ddb1599
Remove the \n and tabs from the __COPYRIGHT() strings.
2008-07-20 01:09:06 +00:00
mrg
c2b95373bf
remove clause #3 from my license where there are no other
...
copyright holders involved.
2008-05-29 14:51:25 +00:00
hubertf
5163058672
Handle .br - this makes processing of the netbsd-4
...
src/dist/bzip2/bzip2.1 file work:
Before:
% getNAME /usr/cvs/src-4/dist/bzip2/bzip2.1
bzip2, bunzip2 (1) - a block-sorting file compressor, v1.0.2 .br bzcat (1) - decompresses files to stdout .br bzip2recover (1) - recovers data from damaged bzip2 files
After:
% getNAME /usr/cvs/src-4/dist/bzip2/bzip2.1
bzip2, bunzip2 (1) - a block-sorting file compressor, v1.0.2
bzcat (1) - decompresses files to stdout
bzip2recover (1) - recovers data from damaged bzip2 files
Verified with code from src/share/man/man0 that nothing else was
broken by this change.
2006-09-12 21:56:43 +00:00
christos
ba3c0c1bd8
Oops, put back my copyright.
2004-03-20 20:30:48 +00:00
christos
1074321aa8
- remove my license
...
- un __P
- de-lint
2004-03-20 20:26:58 +00:00
itojun
143464d11e
realloc mistake
2003-09-19 05:41:33 +00:00
agc
8e6ab8837d
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22284, verified by myself.
2003-08-07 09:46:37 +00:00
wiz
990562bfef
.Nm does not need a dummy argument ("") before punctuation or
...
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
wiz
d6285bbf1d
Begin new sentences on new lines.
...
Patch from Robert Elz (kre at munnari oz au).
2002-09-29 14:05:52 +00:00
jdolecek
1b5e3d16f0
improve description of options - particularily, avoid repeating the option
...
in the description, and use 'print' instead of 'returns' or 'determines'
2002-03-08 20:59:08 +00:00
jdolecek
16510c2b02
makewhatis(8) doesn't use getNAME(8) nowadays
2002-03-08 20:40:00 +00:00
christos
f71c29c50a
More sanity checks to avoid looking at unitialized memory.
2002-01-31 17:37:25 +00:00
wiz
e705d08049
Whitespace nits, sort sections, end sentences with dots.
2002-01-15 02:21:13 +00:00
cgd
65a1026492
convert to use getprogname()
2001-02-19 22:43:42 +00:00
christos
f580002996
fix nested extern
2001-02-04 22:05:13 +00:00
enami
82d7115cf2
Don't pass so many args to .Nd macro. It just overflows.
1999-11-19 01:12:39 +00:00
drochner
85cbf55d16
Since our gcc doesn't warn about NULL format strings anymore, we can
...
fix the incorrect err(1, "%s", "") et al.
Closes PR bin/7592 by cgd.
1999-11-09 15:06:30 +00:00
garbled
f124765044
More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
...
so we shouldn't override it with versions in the manpages. Many more to
come.
1999-03-22 18:25:43 +00:00
augustss
e165b79030
Get rid of the annoying warning about NAMN not being a proper first .SH.
...
Do it by adding a table of allowed first SH tags.
1999-02-08 20:05:57 +00:00
hubertf
030e6d4f1d
Omit "(section)" if either -i or -t are given, print "\n" and insert a
...
"-" at the right place when -i is given.
1998-10-10 02:53:12 +00:00
christos
f7ab9656fe
From chopps: be more picky about handling incorrectly formatted man pages.
...
Look for .Sh NAME; this breaks internationalized man pages. Someone could
put NLS support for it.
1998-05-21 23:21:48 +00:00
fair
c90e2a4b2e
getNAME now handles [nt]roff comments (.\") correctly.
1998-04-10 22:32:45 +00:00
mrg
2ccff62399
break if ".PP" also
1998-03-30 01:45:27 +00:00
perry
3ed4e7c6e3
add <unistd.h> to fix compiler warning
1998-02-03 03:24:24 +00:00
christos
04691c5e33
Overhaul:
...
- Use fgetln instead of fgets and keep track of line limits.
- Use dynamically allocated buffers instead of fixed length ones.
- Use err/warn
- Don't re-scan strings needlessly.
- Handle extensions properly for page names that contain more than
one period printing:
resolv.conf (5) - resolver configuration file
instead of:
resolv.conf (conf.5) - resolver configuration file
This fixes PR/4738: "Coredump in getNAME" as a side effect.
This program is a hack; it depends on the ``standard format'' of a man page
and can get easily confused. At least now it will not core-dump...
1997-12-22 20:02:33 +00:00
mikel
8e4d4f760b
edit a bit, and bewail inability to handle compressed manpages
1997-12-04 06:41:42 +00:00
lukem
b0b8aac67b
* use (``foo'') instead of (<em>foo</em>)
...
* order SEE ALSO on man section then alphabetical
* add -w to usage string
* deprecate register
* minor code move in newman section, to follow style of oldman section
1997-11-02 00:23:36 +00:00
mrg
ef53ad130b
add a manual for getNAME. also, change the `default' output to be in
...
a form much more useful for an apropos(1) database. this will be used
by makewhatis(1) to generate the whatis.db file's now...
1997-11-01 15:03:51 +00:00
enami
f4c54f2517
No need to declare optind.
1997-10-20 02:00:36 +00:00
mrg
2268d2dfb3
merge lite-2 Makefiles (rcsids), and turn on WARNS for all of libexec.
1997-10-08 09:07:11 +00:00
enami
782a241926
Put a whitespace after the keyword `switch'.
1997-10-08 01:00:41 +00:00
enami
42eb13e478
Compare a return value of getopt() against -1 instead of EOF.
1997-10-08 00:56:46 +00:00
mrg
16e14cfd8d
WARNS?=1. RCS ids
1997-10-07 10:57:08 +00:00
tls
83c7e41542
Sync to 4.4BSD-Lite2
1997-04-29 20:39:10 +00:00
mycroft
e9d867ef50
Add RCS identifiers.
1993-08-01 17:54:45 +00:00
mycroft
cda4f8f6ee
Add RCS identifiers.
1993-08-01 05:37:30 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00