summaryrefslogtreecommitdiff
path: root/sys/man/1/strings
diff options
context:
space:
mode:
authorTaru Karttunen <taruti@taruti.net>2011-03-30 16:49:47 +0300
committerTaru Karttunen <taruti@taruti.net>2011-03-30 16:49:47 +0300
commitb41b9034225ab3e49980d9de55c141011b6383b0 (patch)
tree891014b4c2e803e01ac7a1fd2b60819fbc5a6e73 /sys/man/1/strings
parentc558a99e0be506a9abdf677f0ca4490644e05fc1 (diff)
Import sources from 2011-03-30 iso image - sys/man
Diffstat (limited to 'sys/man/1/strings')
-rwxr-xr-xsys/man/1/strings36
1 files changed, 36 insertions, 0 deletions
diff --git a/sys/man/1/strings b/sys/man/1/strings
new file mode 100755
index 000000000..9164194bd
--- /dev/null
+++ b/sys/man/1/strings
@@ -0,0 +1,36 @@
+.TH STRINGS 1
+.SH NAME
+strings \- extract printable strings
+.SH SYNOPSIS
+.B strings
+[
+.B -m
+.I min
+] [
+.I file ...
+]
+.SH DESCRIPTION
+.I Strings
+finds and prints strings containing
+.I min
+(default 6)
+or more
+consecutive printable
+.SM UTF\c
+-encoded characters
+in a (typically) binary file, default
+standard input.
+Printable characters are taken to be
+.SM ASCII
+characters from blank through tilde (hexadecimal 20 through 7E), inclusive,
+and
+all other characters from value 00A0 to FFFF.
+Strings reports
+the decimal offset within the file at which the string starts and the text
+of the string. If the string is longer than 70 runes the line is
+terminated by three dots and the printing is resumed on the next
+line with the offset of the continuation line.
+.SH SOURCE
+.B /sys/src/cmd/strings.c
+.SH SEE ALSO
+.IR nm (1)