diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-11-04 18:32:07 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-11-04 19:11:42 -0800 |
commit | 8fb21bdf15185e18e44b5dab6740720a50b9f0c9 (patch) | |
tree | c84bcb06c4bc884d1dbb972e2aa2a7ae78087f11 /man/filenames.sed.c | |
parent | e9d23df81ae6e5beb79237cb13b555ed689b1a76 (diff) |
Attempt to modernize and better disentangle utmp vs. utmpx in the man page
Also reduces the number of references to BSD vs. System V differences
from the early 90's which are no longer relevant today.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'man/filenames.sed.c')
-rw-r--r-- | man/filenames.sed.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/man/filenames.sed.c b/man/filenames.sed.c index 2db7845..2ca7f1d 100644 --- a/man/filenames.sed.c +++ b/man/filenames.sed.c @@ -3,15 +3,21 @@ #ifdef UTMPX_FILE # define UTF UTMPX_FILE # define UTM utmpx +/* delete utmp-only content */ +/__BEGIN_UTMP_ONLY__/,/__END_UTMP_ONLY__/ d #else # define UTF UTMP_FILE # define UTM utmp +/* delete utmpx-only content */ +/__BEGIN_UTMPX_ONLY__/,/__END_UTMPX_ONLY__/ d #endif #ifdef WTMPX_FILE # define WTF WTMPX_FILE +# define WTM wtmpx #else # define WTF WTMP_FILE +# define WTM wtmp #endif #ifndef TTYS_FILE @@ -24,6 +30,7 @@ s|__utmp_manpage__|UTM|g s|__utmp_file__|UTF|g +s|__wtmp_manpage__|WTM|g s|__wtmp_file__|WTF|g s|__ttys_file__|TTYS_FILE|g s|__lastlog_file__|LLOG_FILE|g |