From: Bill Joy Date: Sun, 25 Nov 1979 09:15:53 +0000 (-0800) Subject: BSD 3 development X-Git-Tag: BSD-3~609 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/a36f33369aa00953e06fb7ca6a572dc213c5089a BSD 3 development Work on file usr/man/man1/ssp.1 Work on file usr/man/man1/strings.1 Synthesized-from: 3bsd --- diff --git a/usr/man/man1/ssp.1 b/usr/man/man1/ssp.1 new file mode 100644 index 0000000000..e9cb912c4d --- /dev/null +++ b/usr/man/man1/ssp.1 @@ -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 index 0000000000..8b5f846958 --- /dev/null +++ b/usr/man/man1/strings.1 @@ -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