find strings in C source code
findstr [-b] file ...
findstr [-b] -p [cpp_option] file ...
findstr examines files of C source code for string
constants, which are written on standard output (one per line in
the form of a string list):
filename pos len "...message text..."
where filename is the name of the C source file,
pos is the character position of the message within
the source file and len is the message length in bytes.
assumes a syntactically correct C preprocessed source input file.
In the case of C preprocess request (that is, with the
-p option), a preprocessed,
.i-suffixed file is first created in the C
source file directory before the the string list is generated.
findstr recognizes the following options:
Source file directory name truncation within the string
Preprocess source file before performing find.
Arguments following -p are interpreted as
The output from
is normally used by
to create a new source file with message catalogue information.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005