summaryrefslogtreecommitdiff
path: root/libexec/getNAME
AgeCommit message (Collapse)Author
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2007-05-31convert to new .Dd format;Jason McIntyre
2006-08-17Instead of doing all this pointer and buffer arithmetic, generate stringRay Lai
using asprintf and strlcat it. Declare usage __dead instead of void in the prototype but static void in the definition. OK millert@
2006-06-21minimal KNF and spacingJasper Lievisse Adriaanse
ok millert@, otto@
2003-07-03clean up strn{cpy,cat}->strl{cpy,cat}Anil Madhavapeddy
ok tdeval@, krw@
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-03these files all had >9 arguments to .Nd, causing the name description to beJason McIntyre
truncated. i wrapped them in double quotes to preserve the line. grep inspired by an -mdoc lesson from millert@
2003-04-06string handling; ok millertTheo de Raadt
2002-07-03KNFTheo de Raadt
2002-05-22a bunch more strcpy -> strlcpy and sprintf -> snprintfTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-12-07kill more registers;Mike Pechkin
millert@ ok
2000-09-08Some miscellaneous man page repairs.Aaron Campbell
1999-10-08- Remove bogus Xr to non-existent catman(8); pjanzen@Aaron Campbell
- Add Xr for apropos(1) and whatis(1). - Also, cleanup option descriptions while we're here.
1999-09-07typos (appeared -> appeared in)Aaron Campbell
1999-07-09- remove all trailing whitespaceAaron Campbell
* except when it is escaped with a `\' at the end of the line - fix remaining .Nm usage as well - this is from a patch I received from kwesterback@home.com, who has been working on some scripts for fixing formatting errors in mdoc'd man pages Ok, so there could be a cost/benefit debate with this commit, but since I have the patch we might as well commit it...
1999-05-23remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-commonAaron Campbell
is used instead; kwesterback@home.com
1998-12-15always give .Nm macros an argument in SYNOPSIS sections; krw@tcn.netAaron Campbell
1998-07-20Spelling, and omitted words for getNAME.Marc Espie
1998-05-17Fix strncat() usage; Some from cstone@pobox.comTodd C. Miller
It would be better to detect impending oflow, log, and abort though.
1997-12-17Correct .NmTodd C. Miller
1997-11-13Nuke trailing space.Todd C. Miller
1997-11-13Changes from NetBSD (mrg):Todd C. Miller
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... OpenBSD changes: use basename(3) instead of doing a half-hearted job inline. use strncat(3) because I am anal.
1997-11-134.4BSD lite version. Adds -w flag for whatis entries.Todd C. Miller
1997-01-17r?index -> strr?chrTodd C. Miller
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1995-10-18initial import of NetBSD treeTheo de Raadt