aboutsummaryrefslogtreecommitdiff
path: root/libexec/revnetgroup
Commit message (Collapse)AuthorAgeFilesLines
* Fix typos; each file has at least one s/seperat/separat/Jens Schweikhardt2002-08-111-1/+1
| | | | | | | | | | | | | (I skipped those in contrib/, gnu/ and crypto/) While I was at it, fixed a lot more found by ispell that I could identify with certainty to be errors. All of these were in comments or text, not in actual code. Suggested by: bde MFC after: 3 days Notes: svn path=/head/; revision=101677
* The .Nm utilityPhilippe Charnier2002-07-061-5/+6
| | | | Notes: svn path=/head/; revision=99500
* Include <string.h> for some prototypes, rather than depending onMike Barcroft2002-04-011-0/+1
| | | | | | | pollution from <strings.h>. Notes: svn path=/head/; revision=93590
* o __P removalWarner Losh2002-02-074-47/+34
| | | | | | | | o register removal o use new style prototypes and function definitions Notes: svn path=/head/; revision=90377
* yp(4) -> yp(8).Ruslan Ermilov2002-01-141-1/+1
| | | | | | | PR: docs/30797 Notes: svn path=/head/; revision=89362
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.Dima Dorfman2001-07-091-1/+0
| | | | Notes: svn path=/head/; revision=79454
* - Backout botched attempt to intoduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+2
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74814
* Set the default manual section for libexec/ to 8.Ruslan Ermilov2001-03-201-2/+0
| | | | Notes: svn path=/head/; revision=74529
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-3/+3
| | | | Notes: svn path=/head/; revision=68949
* Don't call err() without a format string.Kris Kennaway2000-07-111-1/+1
| | | | Notes: svn path=/head/; revision=62983
* $Id$ -> $FreeBSD$Peter Wemm1999-08-286-6/+6
| | | | Notes: svn path=/head/; revision=50476
* .Sh AUTHOR -. .Sh AUTHORS. Use .An/.Aq.Philippe Charnier1998-03-191-2/+2
| | | | Notes: svn path=/head/; revision=34670
* Use warn(3). Hardcode progname instead of using argv[0]. Use Pa for filePhilippe Charnier1997-11-254-59/+66
| | | | | | | name. Notes: svn path=/head/; revision=31404
* Many places in the code NULL is used in integer context, wherePoul-Henning Kamp1997-09-181-3/+3
| | | | | | | | | | | | plain 0 should be used. This happens to work because we #define NULL to 0, but is stylistically wrong and can cause problems for people trying to port bits of code to other environments. PR: 2752 Submitted by: Arne Henrik Juul <arnej@imf.unit.no> Notes: svn path=/head/; revision=29574
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-281-3/+3
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24349
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-226-9/+9
| | | | Notes: svn path=/head/; revision=22989
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-146-9/+9
| | | | | | | | | | | 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
* Sort cross references.Wolfram Schneider1997-01-131-3/+3
| | | | Notes: svn path=/head/; revision=21635
* Close PR #2193: support backslash line continuations.Bill Paul1996-12-133-15/+23
| | | | | | | (Also did some minor cleanups.) Notes: svn path=/head/; revision=20387
* Use err() instead of perror()/exit() and remember to #include <errno.h>Bill Paul1996-08-041-4/+5
| | | | | | | and <err.h>. Notes: svn path=/head/; revision=17424
* Small touchups:Bill Paul1996-05-124-12/+34
| | | | | | | | | | | | | | | - Fix typos in comments in hash.c. - Remove unneeded and unused member from grouplist struct in hash.h. (Curiously, the compiler never complained about this even though the member was of type 'struct grps' which is not defined anywhere in this program.) - char ch -> int ch in revnetgroup.c. - char *argv[0]; -> char *argv[]; also in revnetgroup.c. - Force the user to specify at least one of the -u or -h flags and complain if they specify both. Notes: svn path=/head/; revision=15754
* Import the first cut of my (finally finished) revnetgroup program. ThisBill Paul1995-10-266-0/+951
program parses the /etc/netgroup file into netgroup.byuser and netgroup.byhost format for NIS. I used hash tables to store the initial netgroup data in memory and to construct the 'reverse' netgroup output. It seems just as fast as the SunOS revnetgroup, which is surprising considering this is my first attempt at using hash tables in a real application. :) Note that I canibalized a large chunk of getnetgrent.c to save myself from having to write my own netgroup parsing functions. Notes: svn path=/cvs2svn/branches/WPAUL/dist/; revision=11814