On 19:47 Sat 05 Aug, Nicolas François wrote:
> Hello Florentin,
> 
> On Sat, Aug 05, 2006 at 02:09:24PM +0200, Florentin Duneau wrote:
> > 
> > po4aman-display-po fails if posix manpages are installed. For example :
> > 
> > 
> > fff @ ~/debian/pkg-manpages-fr-extra/trunk/coreutils/po4a/po
> > % po4aman-display-po -m ls -p fr.po
> > Can't find the master man page ls
> > Looking for manpage ls
> > Error: Too many possible manpages: /usr/share/man/man1/ls.1.gz
> > /usr/share/man/man1/ls.1posix.gz, you must specify the manpage or the 
> > section
> 
> Does "po4aman-display-po -m ls.1 -p fr.po" works?

No :

% /usr/bin/po4aman-display-po -m ls.1 -p fr.po
Can't find the master man page ls.1
Looking for manpage ls.1
Looking for manpage ls in section 1
Error: Too many possible manpages: /usr/share/man/man1/ls.1.gz
/usr/share/man/man1/ls.1posix.gz, you must specify the manpage or the
section

> 
> I don't really like this regexp (I will have to add a lot of them, e.g.
> what about md5sum.1.gz and md5sum.textutils.1.gz; dpkg-scanpackages.8.gz
> and dpkg-scanpackages.dpkg.8.gz; etc.)
>

% man --all --where --locale=C md5sum.textutils
/usr/share/man/man1/md5sum.1.gz

% man --all --where --locale=C md5sum
/usr/share/man/man1/md5sum.1.gz

Where is the problem?

The -e, --extension option of man program provides some informations
about posix naming manpages.

Florentin Duneau

Reply via email to