manpagez: man pages & more
info gettext
Home | html | info | man
[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

9.3.3 Message selection

  [-N sourcefile]... [-M domainname]...
  [-J msgctxt-pattern] [-K msgid-pattern] [-T msgstr-pattern]
  [-C comment-pattern]

A message is selected if

When more than one selection criterion is specified, the set of selected messages is the union of the selected messages of each criterion.

msgctxt-pattern or msgid-pattern or msgstr-pattern syntax:

  [-E | -F] [-e pattern | -f file]...

patterns are basic regular expressions by default, or extended regular expressions if -E is given, or fixed strings if -F is given.

‘-N sourcefile’
‘--location=sourcefile’

Select messages extracted from sourcefile. sourcefile can be either a literal file name or a wildcard pattern.

‘-M domainname’
‘--domain=domainname’

Select messages belonging to domain domainname.

‘-J’
‘--msgctxt’

Start of patterns for the msgctxt.

‘-K’
‘--msgid’

Start of patterns for the msgid.

‘-T’
‘--msgstr’

Start of patterns for the msgstr.

‘-C’
‘--comment’

Start of patterns for the translator’s comment.

‘-X’
‘--extracted-comment’

Start of patterns for the extracted comments.

‘-E’
‘--extended-regexp’

Specify that pattern is an extended regular expression.

‘-F’
‘--fixed-strings’

Specify that pattern is a set of newline-separated strings.

‘-e pattern’
‘--regexp=pattern’

Use pattern as a regular expression.

‘-f file’
‘--file=file’

Obtain pattern from file.

‘-i’
‘--ignore-case’

Ignore case distinctions.

‘-v’
‘--invert-match’

Output only the messages that do not match any selection criterion, instead of the messages that match a selection criterion.


[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated on August 27, 2013 using texi2html 5.0.

© manpagez.com 2000-2026
Individual documents may contain additional copyright information.