UNIX in a Nutshell: System V Edition

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

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

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


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

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