aboutsummaryrefslogtreecommitdiff
path: root/libexec/revnetgroup
Commit message (Collapse)AuthorAgeFilesLines
* Fix two instances of the file names generated by revnetgroup(8).Niclas Zeising2012-08-181-2/+2
| | | | | | | Approved by: joel (mentor) Notes: svn path=/head/; revision=239364
* Spelling fixes for libexec/Ulrich Spörlein2012-01-071-2/+2
| | | | Notes: svn path=/head/; revision=229780
* Make WARNS=6 the default for libexec/.Ed Schouten2010-01-021-0/+2
| | | | | | | | | | | | | | | | | | Just like bin/ and sbin/, I think setting WARNS to the highest value possible will make it more attractive for people to fix warnings. - The WARNS variable is set in the Makefile in the directory of the application itself, making it more likely that it will be removed out of curiosity to see what happens. - New applications will most likely build with WARNS=6 out of the box, because the author would more likely fix the warnings during development than lower WARNS. Unfortunately almost all apps in libexec require a lowered value of WARNS. Notes: svn path=/head/; revision=201380
* Sync program's usage() with manpage's SYNOPSIS.Ruslan Ermilov2005-02-092-5/+2
| | | | Notes: svn path=/head/; revision=141589
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-11/+22
| | | | Notes: svn path=/head/; revision=131487
* 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