Reference: srchtxt
Author: Daniel Gilly & the Staff of O'Reilly & Associates
Date: 1998-08-06T21:55:12Z

#

| Chapter 2 UNIX Commands |

## srchtxt

    srchtxt [options] [regexp]

A grep-like utility to search message files for text strings that match regular expression `regexp`. srchtxt is one of the message manipulation commands like gettxt and mkmsgs. If no `regexp` is used, srchtxt displays all message strings from the specified files.

### Options

.hw locale

-l `locale`

  Search files that reside in the directory /usr/lib/locale/`locale`/LC_MESSAGES, where `locale` is the language in which the message strings have been written. The default `locale` is set by environment variable LC_MESSAGES or LANG. If neither is set, srchtxt searches directory /usr/lib/locale/C/LC_MESSAGES.

-m `msgfiles`

  Search for strings in one or more comma-separated `msgfiles`. Specifying a pathname for `msgfiles` overrides the -l option.

-s

  Don't print message numbers for strings.

Reference: split |  | Reference: strings