*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> findstr (1)              


 findstr(1)                                                       findstr(1)

 NAME    [Toc]    [Back]
      findstr - find strings for inclusion in message catalogs

 SYNOPSIS    [Toc]    [Back]
      findstr file ...

 DESCRIPTION    [Toc]    [Back]
      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)).

    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    [Toc]    [Back]
      Single- and multi-byte character code sets are supported.

 WARNINGS    [Toc]    [Back]
      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 11i Version 2: August 2003

 findstr(1)                                                       findstr(1)

 SEE ALSO    [Toc]    [Back]

 Hewlett-Packard Company            - 2 -   HP-UX 11i Version 2: August 2003
[ Back ]
 Similar pages
Name OS Title
msgfmt Linux compile message catalogs
bindtextdomain Linux set directory containing message catalogs
msgunfmt Linux decompile message catalogs
msgmerge Linux merge two message catalogs
msgcmp Linux compare two message catalogs
trans Tru64 translation tool for use with source message catalogs
strings HP-UX find the printable strings in an object or other binary file
strings IRIX find printable strings in an object file or binary
core_addshmem_read HP-UX determines the inclusion of readable shared memory in a process core dump
core_addshmem_write HP-UX determines the inclusion of read/write shared memory in process core dump
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service