Deleted Added
full compact
finger.c (72109) finger.c (74586)
1/*
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Tony Nardo of the Johns Hopkins University/Applied Physics Lab.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 41 unchanged lines hidden (view full) ---

50 The Regents of the University of California. All rights reserved.\n";
51#endif /* not lint */
52
53#ifndef lint
54#if 0
55static char sccsid[] = "@(#)finger.c 8.5 (Berkeley) 5/4/95";
56#endif
57static const char rcsid[] =
1/*
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Tony Nardo of the Johns Hopkins University/Applied Physics Lab.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 41 unchanged lines hidden (view full) ---

50 The Regents of the University of California. All rights reserved.\n";
51#endif /* not lint */
52
53#ifndef lint
54#if 0
55static char sccsid[] = "@(#)finger.c 8.5 (Berkeley) 5/4/95";
56#endif
57static const char rcsid[] =
58 "$FreeBSD: head/usr.bin/finger/finger.c 72109 2001-02-06 20:13:48Z charnier $";
58 "$FreeBSD: head/usr.bin/finger/finger.c 74586 2001-03-21 18:43:49Z ache $";
59#endif /* not lint */
60
61/*
62 * Finger prints out information about users. It is not portable since
63 * certain fields (e.g. the full user name, office, and phone numbers) are
64 * extracted from the gecos field of the passwd file which other UNIXes
65 * may not have or may use for other things.
66 *

--- 17 unchanged lines hidden (view full) ---

84#include <locale.h>
85
86#include "finger.h"
87#include "pathnames.h"
88
89DB *db;
90time_t now;
91int entries, lflag, mflag, pplan, sflag, oflag, Tflag;
59#endif /* not lint */
60
61/*
62 * Finger prints out information about users. It is not portable since
63 * certain fields (e.g. the full user name, office, and phone numbers) are
64 * extracted from the gecos field of the passwd file which other UNIXes
65 * may not have or may use for other things.
66 *

--- 17 unchanged lines hidden (view full) ---

84#include <locale.h>
85
86#include "finger.h"
87#include "pathnames.h"
88
89DB *db;
90time_t now;
91int entries, lflag, mflag, pplan, sflag, oflag, Tflag;
92int d_first = -1;
92char tbuf[1024];
93
94static void loginlist __P((void));
95static void usage __P((void));
96static void userlist __P((int, char **));
97
98int
99option(argc, argv)

--- 289 unchanged lines hidden ---
93char tbuf[1024];
94
95static void loginlist __P((void));
96static void usage __P((void));
97static void userlist __P((int, char **));
98
99int
100option(argc, argv)

--- 289 unchanged lines hidden ---