home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam    

UNIX in a Nutshell: System V Edition

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

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.


Previous: Reference: split UNIX in a Nutshell: System V Edition Next: Reference: strings
Reference: split Book Index Reference: strings

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










??????????????@Mail.ru