[BACK]Return to unifdef.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / unifdef

Diff for /src/usr.bin/unifdef/unifdef.1 between version 1.2 and 1.3

version 1.2, 1996/06/26 05:42:10 version 1.3, 1998/10/30 00:24:41
Line 55 
Line 55 
 .Ar ...  .Ar ...
 .Op Ar file  .Op Ar file
 .Sh DESCRIPTION  .Sh DESCRIPTION
 .Nm Unifdef  .Nm unifdef
 is useful for removing ifdef'ed lines  is useful for removing ifdef'ed lines
 from a file while otherwise leaving the file alone.  from a file while otherwise leaving the file alone.
 .Nm Unifdef  .Nm unifdef
 acts on  acts on
 #ifdef, #ifndef, #else, and #endif lines,  #ifdef, #ifndef, #else, and #endif lines,
 and it knows only enough about C  and it knows only enough about C
Line 74 
Line 74 
 to the end of a line and finds no backslash for continuation.  to the end of a line and finds no backslash for continuation.
 .Pp  .Pp
 Available options:  Available options:
   .Pp
 .Bl -tag -width Ds -compact  .Bl -tag -width Ds -compact
 .It Fl D Ns Ar sym  .It Fl D Ns Ar sym
 .It Fl U Ns Ar sym  .It Fl U Ns Ar sym
 Specify which symbols to define or undefine.  Specify which symbols to define or undefine,
 and the lines inside those ifdefs will be copied to the output or removed as  and the lines inside those ifdefs will be copied to the output or removed as
 appropriate.  appropriate.
 The ifdef, ifndef, else, and endif lines associated with  The ifdef, ifndef, else, and endif lines associated with
 .Ar sym  .Ar sym
 will also be removed.  will also be removed.
 Ifdefs involving symbols you don't specify  ifdefs involving symbols you don't specify
 and ``#if'' control lines  and ``#if'' control lines
 are untouched and copied out  are untouched and copied out
 along with their associated  along with their associated
Line 106 
Line 107 
 .It Fl l  .It Fl l
 Replace removed lines with blank lines  Replace removed lines with blank lines
 instead of deleting them.  instead of deleting them.
   .Pp
 .It Fl t  .It Fl t
 Disables parsing for C comments and quotes, which is useful  Disables parsing for C comments and quotes, which is useful
 for plain text.  for plain text.
Line 132 
Line 134 
 above.  above.
 .El  .El
 .Pp  .Pp
 .Nm Unifdef  .Nm unifdef
 copies its output to  copies its output to
 .Em stdout  .Em stdout
 and will take its input from  and will take its input from
Line 141 
Line 143 
 .Ar file  .Ar file
 argument is given.  argument is given.
 .Pp  .Pp
 .Nm Unifdef  .Nm unifdef
 works nicely with the  works nicely with the
 .Fl D Ns Ar sym  .Fl D Ns Ar sym
 option added to  option added to

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3