[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Local copy of ALL man pages



Brian <ad44@cityscape.co.uk> wrote:
> 'ar -x' will get data.tar.gz from the .deb file. 'tar zvxf data.tar.gz'
> will do the unpacking. The man pages are in /usr/share/man. Something
> like 'cp' should be able to get at them.

For any given $PACKAGE deb this will extract the manpages into
/usr/share/man (you might prefer to change tar's "/" to "/tmp"):

    ar -p "$PACKAGE" data.tar.gz | tar xzvCf / - ./usr/share/man

Chris


Reply to: