Initial revision
authorceriel <none@none>
Wed, 4 Feb 1987 12:45:43 +0000 (12:45 +0000)
committerceriel <none@none>
Wed, 4 Feb 1987 12:45:43 +0000 (12:45 +0000)
util/cmisc/cclash.1 [new file with mode: 0644]
util/cmisc/cid.1 [new file with mode: 0644]
util/cmisc/mkdep.1 [new file with mode: 0644]
util/cmisc/prid.1 [new file with mode: 0644]

diff --git a/util/cmisc/cclash.1 b/util/cmisc/cclash.1
new file mode 100644 (file)
index 0000000..35ece40
--- /dev/null
@@ -0,0 +1,24 @@
+.TH CCLASH 1ACK
+.SH NAME
+cclash  \-  report clashing identifiers in C-programs
+.SH SYNOPSIS
+.B cclash [ -l<length> ] [ -c | -m ]
+[ file ... ]
+.SH DESCRIPTION
+.I Cclash
+prints all identifiers that don't differ in the first <length> characters.
+The default value for <length> is 8.
+.PP
+The
+.B -m
+option indicates that #define's must be generated for clashing identifiers.
+This is of course only useful if your preprocessor can distinguish between
+them.
+.PP
+The
+.B -c
+option indicates that a oldname=newname line must be generated for each
+clashing identifier. This is useful input for
+.IR cid (1).
+.SH "SEE ALSO"
+cid(1)
diff --git a/util/cmisc/cid.1 b/util/cmisc/cid.1
new file mode 100644 (file)
index 0000000..3c1799c
--- /dev/null
@@ -0,0 +1,33 @@
+.TH CID 1ACK
+.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.
diff --git a/util/cmisc/mkdep.1 b/util/cmisc/mkdep.1
new file mode 100644 (file)
index 0000000..7c42ecd
--- /dev/null
@@ -0,0 +1,24 @@
+.TH MKDEP 1ACK
+.SH NAME
+mkdep \- dependency generator for C-programs
+.SH SYNOPSYS
+.B mkdep
+file ...
+.SH DESCRIPTION
+.I Mkdep
+scans the files in the argument list for C-preprocessor lines of the form
+.DS
+#include "\fIfile1\fp"
+.DE
+and produces for each file \fIarg\fR in the argument list a line of the form
+.DS
+\fIarg\fR: \fIfile1\fR \fIfile2\fR ...
+.DE
+where \fIfile1\fR, \fIfile2\fR, etc. are filenames included by \fIarg\fR, or
+by a file included by \fIarg\fR, etc.
+.PP
+Only files in the current directory are scanned.
+.SH "SEE ALSO"
+make(1)
+.SH BUGS
+Should be able to handle files from other directories
diff --git a/util/cmisc/prid.1 b/util/cmisc/prid.1
new file mode 100644 (file)
index 0000000..99eced7
--- /dev/null
@@ -0,0 +1,12 @@
+.TH PRID 1ACK
+.SH NAME
+prid  \-  print identifiers in C-programs longer than a certain length
+.SH SYNOPSIS
+.B prid [ -l<length> ]
+[ file ... ]
+.SH DESCRIPTION
+.I Prid
+prints all identifiers with length >= <length>.
+The default value for <length> is 8.
+.SH "SEE ALSO"
+cclash(1), cid(1)