Up to [local] / src / usr.bin / whatis
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_2_9
Revision 1.5 / (download) - annotate - [select for diffs], Sat Apr 1 05:05:35 2000 UTC (24 years, 2 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE,
OPENBSD_3_0,
OPENBSD_2_9_BASE,
OPENBSD_2_9,
OPENBSD_2_8_BASE,
OPENBSD_2_8,
OPENBSD_2_7_BASE,
OPENBSD_2_7
Changes since 1.4: +26 -10 lines
Diff to previous 1.4 (colored)
Previously, whatis would treat a word as [A-z0-9_] and terminate parsing an entry at the end of a word. This kept things like 'whatis B::Bytecode' from working. Now we match both on a word basis as well matching until we hit a space, ',', or '(' character. This allows one to say 'whatis B' and see the whatis line for B(3p) as well as its methods (B::*).