home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
utlos2.zip
/
Doc
/
strings.doc
< prev
next >
Wrap
Text File
|
1997-07-20
|
2KB
|
47 lines
$Id: strings.doc 1.4 1997/07/20 17:19:23 brian Exp $
strings.doc : The 'strings' command
By: Brian E. Yoder
(c) Copyright International Business Machines Corporation 1997
All rights reserved.
The strings command extracts and shows the printable strings in one or
more files including binary files. It is based on the *ix strings
command, except that it shows offsets in hexadecimal rather than octal.
========================================================================
Usage
========================================================================
strings [ -a ] [ -o ] [ -number ] [ -s ] [ fspec ... ]
The strings command searches one or more files for printable ASCII
strings and writes them to standard output. If no files are specified,
then the command searches standard input in binary mode.
The isprint() library function is used to test for printable ASCII
characters. A sequence of printable characters must be terminated
with a null, carriage return, or line feed character to be considered
a valid string.
The flags that are supported are similar to those supported by the
standard Unix strings command:
-a Search the entire file. This flag is present for command-line
compatibility: this strings command always searches files in
their entirety.
-o Also show the offset of each string found. The offset is shown
in hexadecimal and not octal, unlike the Unix strings command.
-number
Strings must have a minimum length of 'number' characters
before they are shown. The default minimum length is 4
characters.
-s Descend subdirectories, also.
-S Search system and hidden files, also.