unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (HP-UX-11.11)
Page:
Section:
Apropos / Subsearch:
optional field



 findstr(1)							  findstr(1)




 NAME
      findstr - find strings for inclusion in message catalogs

 SYNOPSIS
      findstr file ...

 DESCRIPTION
      findstr examines files of C source code for uncommented string
      constants which it places, along with the surrounding quotes, on the
      standard output, preceding each by the file name, start position, and
      length.  This information is used by insertmsg (see insertmsg(1)).
      findstr does not output strings that are parameters of the catgets()
      routine (see catgets(3C)).

 EXTERNAL INFLUENCES
    Environment Variables
      LC_CTYPE determines the interpretation of comments and string literals
      as single- and/or multi-byte characters.

      LC_MESSAGES determines the language in which messages are displayed.

      If LC_CTYPE or LC_MESSAGES is not specified in the environment or is
      set to the empty string, the value of LANG is used as a default for
      each unspecified or empty variable.  If LANG is not specified or is
      set to the empty string, a default of "C" (see lang(5)) is used
      instead of LANG.	If any internationalization variable contains an
      invalid setting, findstr behaves as if all internationalization
      variables are set to "C".	 See environ(5).

    International Code Set Support
      Single- and multi-byte character code sets are supported.

 WARNINGS
      findstr outputs initialization strings of static string variables.
      Calling insertmsg with these strings causes their replacement with a
      call to catgets() (see catgets(3C)).  Since the initializer must be a
      string, this assignment results in an invalid C declaration.  For
      example, the following line:

	   static char *x[] = "message"

      is modified by insertmsg (see insertmsg(1)) to:

	   static char *x[] = (catgets(catd,NL_SETN,1,"message"))

      These strings should be manually removed from findstr output before
      being input to insertmsg.

      findstr will not be provided in future HP-UX releases.





 Hewlett-Packard Company	    - 1 -   HP-UX Release 11i: November 2000






 findstr(1)							  findstr(1)




 SEE ALSO
      insertmsg(1).




















































 Hewlett-Packard Company	    - 2 -   HP-UX Release 11i: November 2000