UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: splitChapter 2
UNIX Commands
Next: Reference: strings


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.


.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.


Don't print message numbers for strings.

Previous: Reference: splitUNIX in a Nutshell: System V EditionNext: Reference: strings
Reference: splitBook IndexReference: strings

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System