ack/util/cmisc/cid.1

35 lines
941 B
Groff
Raw Normal View History

1991-10-01 12:18:39 +00:00
.TH CID 1 "$Revision$"
1987-03-11 13:56:17 +00:00
.ad
1987-02-04 12:45:43 +00:00
.SH NAME
cid \- change identifiers not occurring in C comment, strings and
character constants.
.SH SYNOPSIS
.B cid
[options] [file ..]
.SH DESCRIPTION
.I Cid
copies the files, or standard input if no files are specified, to
standard output replacing the specified identifiers
by some text, defined by the caller in an option or on a file.
.br
.I Options
is a list of one or more of the following options:
.IP \fB\-D\fP\fIname\fP=\fItext\fP
.br
replace each occurence of \fIname\fP by \fItext\fP.
.I Text
may be empty, in which case the identifier is deleted.
.IP \fB\-D\fP\fIname\fP
.br
Delete all occurences of \fIname\fP.
.IP \fB\-F\fP\fIfile\fP
.br
Read substitute commands of the form "\fIname\fP=\fItext\fP", each on
a single line, from file \fIfile\fP.
.SH SEE ALSO
prid(1), cclash(1)
.SH DIAGNOSTICS
Supposed to be self explanatory.
.SH BUGS
The syntax of the substitute definitions is not (well) checked.