From owner-freebsd-questions@FreeBSD.ORG Wed Dec 1 06:20:30 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B92A416A4CE for ; Wed, 1 Dec 2004 06:20:30 +0000 (GMT) Received: from kientzle.com (h-66-166-149-50.snvacaid.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47C1743D2F for ; Wed, 1 Dec 2004 06:20:30 +0000 (GMT) (envelope-from kientzle@freebsd.org) Received: from freebsd.org (p54.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id iB16KT90099135; Tue, 30 Nov 2004 22:20:29 -0800 (PST) (envelope-from kientzle@freebsd.org) Message-ID: <41AD62A6.5050605@freebsd.org> Date: Tue, 30 Nov 2004 22:20:22 -0800 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20031006 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd@orchid.homeunix.org References: <41AC7636.2050605@orchid.homeunix.org> <44acsz9ogq.fsf@be-well.ilk.org> <41ACC7C5.8040003@orchid.homeunix.org> In-Reply-To: <41ACC7C5.8040003@orchid.homeunix.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: bsdtar '--exclude pattern' problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Dec 2004 06:20:30 -0000 Karol Kwiatkowski wrote: > Lowell Gilbert wrote: > >>According to the tar(1) manual, the file parameters are supposed to >>come after all of the option parameters. > > Ah, of course! I don't know why I wrote it wrong (some months ago > probably). Thank you. gtar and bsdtar do parse options a little differently, so a few people may need to adjust their scripts. Rationale: gtar requires the GNU getopt library and exploits a few special features of that library. bsdtar is designed to work with several different getopt libraries, so restricts itself to somewhat more generic behavior. Tim Kientzle