cid.1 941 B

12345678910111213141516171819202122232425262728293031323334
  1. .TH CID 1 "$Revision$"
  2. .ad
  3. .SH NAME
  4. cid \- change identifiers not occurring in C comment, strings and
  5. character constants.
  6. .SH SYNOPSIS
  7. .B cid
  8. [options] [file ..]
  9. .SH DESCRIPTION
  10. .I Cid
  11. copies the files, or standard input if no files are specified, to
  12. standard output replacing the specified identifiers
  13. by some text, defined by the caller in an option or on a file.
  14. .br
  15. .I Options
  16. is a list of one or more of the following options:
  17. .IP \fB\-D\fP\fIname\fP=\fItext\fP
  18. .br
  19. replace each occurence of \fIname\fP by \fItext\fP.
  20. .I Text
  21. may be empty, in which case the identifier is deleted.
  22. .IP \fB\-D\fP\fIname\fP
  23. .br
  24. Delete all occurences of \fIname\fP.
  25. .IP \fB\-F\fP\fIfile\fP
  26. .br
  27. Read substitute commands of the form "\fIname\fP=\fItext\fP", each on
  28. a single line, from file \fIfile\fP.
  29. .SH SEE ALSO
  30. prid(1), cclash(1)
  31. .SH DIAGNOSTICS
  32. Supposed to be self explanatory.
  33. .SH BUGS
  34. The syntax of the substitute definitions is not (well) checked.