From c413a71a9bdf0a85351f9774ddf7efe42b93615d Mon Sep 17 00:00:00 2001 From: Bill Joy Date: Wed, 18 Apr 1979 21:00:32 -0800 Subject: [PATCH] BSD 2 development Work on file man/head.u Work on file man/see.u Work on file man/soelim.u Work on file man/makewhatis.u Synthesized-from: 2bsd --- man/head.u | 22 ++++++++++++++++++++++ man/makewhatis.u | 22 ++++++++++++++++++++++ man/see.u | 18 ++++++++++++++++++ man/soelim.u | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 110 insertions(+) create mode 100644 man/head.u create mode 100644 man/makewhatis.u create mode 100644 man/see.u create mode 100644 man/soelim.u diff --git a/man/head.u b/man/head.u new file mode 100644 index 0000000000..6bab8b9c95 --- /dev/null +++ b/man/head.u @@ -0,0 +1,22 @@ +.TH HEAD UCB 2/24/79 UCB +.SH NAME +head \- give first few lines of a stream +.SH SYNOPSIS +.B head +[ +.BR \- count +] [ +file ... +] +.SH DESCRIPTION +This filter gives the first +.I count +lines of each of the specified files, or of the standard input. +If +.I count +is omitted it defaults to +10. +.SH SEE\ ALSO +tail(1) +.SH AUTHOR +Bill Joy diff --git a/man/makewhatis.u b/man/makewhatis.u new file mode 100644 index 0000000000..95e9c4479a --- /dev/null +++ b/man/makewhatis.u @@ -0,0 +1,22 @@ +.TH MAKEWHATIS UCB 2/24/79 UCB +.SH NAME +makewhatis \- remake the data base for the whatis and apropos commands +.SH SYNOPSIS +.B makewhatis +.SH DESCRIPTION +.I Makewhatis +remakes the data base for the +whatis and apropos commands +from the manual sections in /usr/man/*. +It uses +.IR getNAME (UCB) +to extract relevant text from each manual entry +and then rearranges and sorts this output. +Manuals sections may be in either the old (version 6) or version 7 manual +formats. +.SH FILES +.DT +/usr/lib/whatis constructed data base +.SH SEE ALSO +getNAME(UCB) +.SH BUGS diff --git a/man/see.u b/man/see.u new file mode 100644 index 0000000000..e0be694776 --- /dev/null +++ b/man/see.u @@ -0,0 +1,18 @@ +.TH SEE UCB 2/24/79 UCB +.SH NAME +see \- see what a file has in it +.SH SYNOPSIS +.B see +[ +.B \- +] [ name ... ] +.SH DESCRIPTION +.I See +prints a file which contains non-printing characters in a readable format. +Control characters print like ^I for tab. +Delete prints as ^?. +Ends of lines are marked with `$' unless the `\-' option is given +.SH "SEE ALSO" +cat(1), ex(UCB) +.SH AUTHOR +Bill Joy diff --git a/man/soelim.u b/man/soelim.u new file mode 100644 index 0000000000..58b383a969 --- /dev/null +++ b/man/soelim.u @@ -0,0 +1,48 @@ +.TH SOELIM UCB 2/24/79 UCB +.SH NAME +soelim \- eliminate source directives from a +.I nroff +or +.I troff +stream +.SH SYNOPSIS +.B soelim +[ +file ... +] +.SH DESCRIPTION +.I Soelim +reads the specified files or the standard input and performs the textual +inclusion implied by the +.I nroff +directives of the form +.PP +.DT + \&.so somefile +.PP +when they appear at the beginning of input lines. +This is useful since programs such as +.I tbl +do not normally do this; +it allows the placement of individual tables +in separate files to be run as a part of a large document. +.PP +Note that inclusion can be suppressed by using +`\'' instead of `\.', i.e. +.PP +.DT + \'so /usr/lib/tmac.s +.PP +A sample usage of +.I soelim +would be +.PP + soelim exum?.n | tbl | nroff -ms | collpr +.SH SEE\ ALSO +colcrt(UCB), cr3(UCB) +.SH AUTHOR +William Joy +.SH BUGS +The format of the source commands must involve no strangeness \- +exactly one +blank must precede and no blanks follow the file name. -- 2.20.1