From owner-freebsd-questions Wed Dec 9 17:30:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA29492 for freebsd-questions-outgoing; Wed, 9 Dec 1998 17:30:20 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from n4hhe.ampr.org (tnt3-78.HiWAAY.net [208.147.146.78]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA29487 for ; Wed, 9 Dec 1998 17:30:17 -0800 (PST) (envelope-from dkelly@n4hhe.ampr.org) Received: from n4hhe.ampr.org (localhost.ampr.org [127.0.0.1]) by n4hhe.ampr.org (8.9.1/8.9.1) with ESMTP id TAA39048 for ; Wed, 9 Dec 1998 19:30:09 -0600 (CST) (envelope-from dkelly@n4hhe.ampr.org) Message-Id: <199812100130.TAA39048@n4hhe.ampr.org> X-Mailer: exmh version 2.0.2 2/24/98 To: freebsd-questions@FreeBSD.ORG From: David Kelly Subject: Re: tar In-reply-to: Message from Mark Ovens of "Wed, 09 Dec 1998 00:39:09 GMT." <366DC6AD.25E8B7E8@uk.radan.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 09 Dec 1998 19:30:08 -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mark Ovens writes: > > > You can't use wildcards in the list of files to extract > > > (etc/mtree/BSD*) > > > > Sure you can. You just have to escape them from the shell as tar > > doesn't get to see the asterix as its used above. Example: > > > > I stand corrected. Traditionally tar can't handle wildcards when > extracting, at least all the *nix I've used (mainly SunOS) can't. GNU > tar has obviously addressed this. That's correct too. I should have pointed it out when I demonstrated FreeBSD's GNU tar would parse regex expressions. GNU tar's man page doesn't say much about it, I had to experiment to find that it worked. pax(1) goes to length discussing "patterns" so presumably it too will allow some form of wildcard matching from the command line. While pax is supposed to be a POSIX utility I haven't found SGI's, Sun's, and FreeBSD's to be as similar as tar between the same hosts. Heaven forbid but I found mention of pax in NT documentation. Found out enough to know its crippled so much that it can't talk to tape drives. What a sad joke. -- David Kelly N4HHE, dkelly@nospam.hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message