BSD 3 development
authorBill Joy <wnj@ucbvax.Berkeley.EDU>
Sun, 25 Nov 1979 09:15:53 +0000 (01:15 -0800)
committerBill Joy <wnj@ucbvax.Berkeley.EDU>
Sun, 25 Nov 1979 09:15:53 +0000 (01:15 -0800)
Work on file usr/man/man1/ssp.1
Work on file usr/man/man1/strings.1

Synthesized-from: 3bsd

usr/man/man1/ssp.1 [new file with mode: 0644]
usr/man/man1/strings.1 [new file with mode: 0644]

diff --git a/usr/man/man1/ssp.1 b/usr/man/man1/ssp.1
new file mode 100644 (file)
index 0000000..e9cb912
--- /dev/null
@@ -0,0 +1,30 @@
+.TH SSP 1 2/24/79
+.UC
+.SH NAME
+ssp \- limit to single spacing
+.SH SYNOPSIS
+.B ssp
+[
+.B \-
+] [
+file ...
+]
+.SH DESCRIPTION
+.I Ssp
+compresses consecutive blank lines to at most one blank line to produce
+more compact output for a \s-2CRT\s0 or to save paper on the printer.
+If the optional
+.B \-
+is given
+.I ssp
+is even more zealous, getting rid of all empty lines.
+.PP
+.I Ssp
+is useful for compressing text with blank lines onto a \s-2CRT\s0,
+and is used by
+.IR  man (1).
+.SH SEE\ ALSO
+colcrt(1), more(1), man(1)
+.SH AUTHOR
+Bill Joy
+.SH BUGS
diff --git a/usr/man/man1/strings.1 b/usr/man/man1/strings.1
new file mode 100644 (file)
index 0000000..8b5f846
--- /dev/null
@@ -0,0 +1,40 @@
+.TH STRINGS 1 2/24/79
+.UC
+.SH NAME
+strings \- find the printable strings in a object, or other binary, file
+.SH SYNOPSIS
+.B strings
+[
+.B \-
+] [
+.B \-o
+] [
+\fB\-\fInumber\fR
+] file ...
+.SH DESCRIPTION
+.I Strings
+looks for ascii strings in a binary file.
+A string is any sequence of 4 or more printing characters ending with
+a newline or a null.
+Unless the
+.B \-
+flag is given,
+.I strings
+only looks in the initialized data space of object files.
+If the
+.B \-o
+flag is given, then each string is preceded by its offset in the
+file (in octal).
+If the
+\fB\-\fInumber\fR
+flag is given then number is used as the minimum string length
+rather than 4.
+.PP
+.I Strings
+is useful for identifying random object files and many other things.
+.SH "SEE ALSO"
+od(1)
+.SH AUTHOR
+Bill Joy
+.SH BUGS
+The algorithm for identifying strings is extremely primitive