=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/unifdef/unifdef.1,v retrieving revision 1.2 retrieving revision 1.3 diff -c -r1.2 -r1.3 *** src/usr.bin/unifdef/unifdef.1 1996/06/26 05:42:10 1.2 --- src/usr.bin/unifdef/unifdef.1 1998/10/30 00:24:41 1.3 *************** *** 1,4 **** ! .\" $OpenBSD: unifdef.1,v 1.2 1996/06/26 05:42:10 deraadt Exp $ .\" $NetBSD: unifdef.1,v 1.4 1994/12/07 00:33:48 jtc Exp $ .\" .\" Copyright (c) 1985, 1991, 1993 --- 1,4 ---- ! .\" $OpenBSD: unifdef.1,v 1.3 1998/10/30 00:24:41 aaron Exp $ .\" $NetBSD: unifdef.1,v 1.4 1994/12/07 00:33:48 jtc Exp $ .\" .\" Copyright (c) 1985, 1991, 1993 *************** *** 55,64 **** .Ar ... .Op Ar file .Sh DESCRIPTION ! .Nm Unifdef is useful for removing ifdef'ed lines from a file while otherwise leaving the file alone. ! .Nm Unifdef acts on #ifdef, #ifndef, #else, and #endif lines, and it knows only enough about C --- 55,64 ---- .Ar ... .Op Ar file .Sh DESCRIPTION ! .Nm unifdef is useful for removing ifdef'ed lines from a file while otherwise leaving the file alone. ! .Nm unifdef acts on #ifdef, #ifndef, #else, and #endif lines, and it knows only enough about C *************** *** 74,89 **** to the end of a line and finds no backslash for continuation. .Pp Available options: .Bl -tag -width Ds -compact .It Fl D Ns Ar sym .It Fl U Ns Ar sym ! Specify which symbols to define or undefine. and the lines inside those ifdefs will be copied to the output or removed as appropriate. The ifdef, ifndef, else, and endif lines associated with .Ar sym will also be removed. ! Ifdefs involving symbols you don't specify and ``#if'' control lines are untouched and copied out along with their associated --- 74,90 ---- to the end of a line and finds no backslash for continuation. .Pp Available options: + .Pp .Bl -tag -width Ds -compact .It Fl D Ns Ar sym .It Fl U Ns Ar sym ! Specify which symbols to define or undefine, and the lines inside those ifdefs will be copied to the output or removed as appropriate. The ifdef, ifndef, else, and endif lines associated with .Ar sym will also be removed. ! ifdefs involving symbols you don't specify and ``#if'' control lines are untouched and copied out along with their associated *************** *** 106,111 **** --- 107,113 ---- .It Fl l Replace removed lines with blank lines instead of deleting them. + .Pp .It Fl t Disables parsing for C comments and quotes, which is useful for plain text. *************** *** 132,138 **** above. .El .Pp ! .Nm Unifdef copies its output to .Em stdout and will take its input from --- 134,140 ---- above. .El .Pp ! .Nm unifdef copies its output to .Em stdout and will take its input from *************** *** 141,147 **** .Ar file argument is given. .Pp ! .Nm Unifdef works nicely with the .Fl D Ns Ar sym option added to --- 143,149 ---- .Ar file argument is given. .Pp ! .Nm unifdef works nicely with the .Fl D Ns Ar sym option added to