Re: Local copy of ALL man pages
Richard Owlett <rowlett@cloud85.net> wrote:
> Chris Davies wrote:
>> ar -p "$PACKAGE" data.tar.gz | tar xzvCf / - ./usr/share/man
> I'll have to sit down with man pages a figure out why that
> does what you say.
ar : archiver. It works on the "$PACKAGE" archive. The -p flag writes
the named member(s) of the archive to stdout
tar : "tape" archiver. The various flags take "the next" argument from
the command line as appropriate:
x : extract file(s) named on the command line after other flags have
been processed, or extract everything if no files are specified
z : input is compressed (gzip)
v : verbose output
C / : change directory to / before extracting files
f - : read from stdin ("-" could be a filename, to read from that file)
Chris
Reply to: