bsd man page for strings

Query: strings

OS: bsd

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

STRINGS(1)						      General Commands Manual							STRINGS(1)

NAME
strings - find the printable strings in a object, or other binary, file
SYNOPSIS
strings [ - ] [ -o ] [ -number ] file ...
DESCRIPTION
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 - flag is given, strings only looks in the initialized data space of object files. If the -o flag is given, then each string is preceded by its offset in the file (in octal). If the -number flag is given then number is used as the minimum string length rather than 4. Strings is useful for identifying random object files and many other things.
SEE ALSO
od(1)
BUGS
The algorithm for identifying strings is extremely primitive. 3rd Berkeley Distribution May 12, 1986 STRINGS(1)
Related Man Pages
gstrings(1) - opensolaris
strings(1) - opensolaris
strings(1p) - suse
strings(1) - freebsd
strings(1) - xfree86
Similar Topics in the Unix Linux Community
Returning Strings from C program to Unix shell script
Using arrays in bash using strings to bash built-in true
Sorting alphanumeric strings without a pattern
Merge two strings by overlapped region
Remove lines containing 2 or more duplicate strings