From owner-freebsd-hackers Wed Apr 8 22:23:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA20585 for freebsd-hackers-outgoing; Wed, 8 Apr 1998 22:23:53 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from antipodes.cdrom.com (antipodes.cdrom.com [204.216.27.52]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA20557 for ; Wed, 8 Apr 1998 22:23:44 -0700 (PDT) (envelope-from mike@antipodes.cdrom.com) Received: from antipodes.cdrom.com (localhost [127.0.0.1]) by antipodes.cdrom.com (8.8.8/8.8.5) with ESMTP id WAA00354; Wed, 8 Apr 1998 22:21:14 -0700 (PDT) Message-Id: <199804090521.WAA00354@antipodes.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: David Kelly cc: hackers@FreeBSD.ORG Subject: Re: Pax weirdness (bug?) In-reply-to: Your message of "Wed, 08 Apr 1998 20:31:30 CDT." <199804090131.UAA11524@nospam.hiwaay.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 08 Apr 1998 22:21:13 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Try this: > > > > % cat /cdrom/info/info.* | zcat | pax -r -w -v tmpdir > > > > Be quick with ^C. > > > > Any ideas? Known bogon? Fixes? (Nothing intuitive, anyway.) > > What's so weird about it? It appears you have invoked "copy" mode using > "-r -w" Yup. Operator error it is. I couldn't imagine such a mode of operation being useful, so I assumed it did what I wanted instead. Error. > I think "cat /cdrom/info/info.[a-z][a-z] | zcat | (cd tmpdir; pax -r -v)" is > what it takes to extract the files. You can use substitution expressions to prepend a path to the begging of extracted names - I remember having done that much before. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message