Hi Raphaël,
Raphaël <[email protected]> writes:
> msggrep currently support the following filters:
> * msgctxt
> * msgid
> * msgstr
> * comment
> * extracted-comment
>
> This last missing bit is the *reference*.
> I'm in a case of a web application where I want to extract references
> matching /content/, /settings/, ... and the reference is the only usable
> criterion.
msggrep -N accepts wildcard patterns:
`-N SOURCEFILE'
`--location=SOURCEFILE'
Select messages extracted from SOURCEFILE. SOURCEFILE can be
either a literal file name or a wildcard pattern.
Doesn't this help? You could do something like:
msggrep -N ../content/\* input.po | msggrep --msgid -F -e 'Please specify'
Regards,
--
Daiki Ueno