Subject: bin/25131: tar --exclude error
To: None <gnats-bugs@gnats.NetBSD.org>
From: Kimmo Suominen <kim@tac.nyc.ny.us>
List: netbsd-bugs
Date: 04/10/2004 15:26:38
>Number: 25131
>Category: bin
>Synopsis: tar --exclude error
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Apr 10 19:27:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Kimmo Suominen
>Release: NetBSD 2.0C from 2004-04-08
>Organization:
_ _
| |_(_)_ __
| / / | ' \ Kimmo Suominen
|_\_\_|_|_|_| kim@tac.nyc.ny.us
>Environment:
System: NetBSD beowulf.gw.com 2.0C NetBSD 2.0C (GW-GENERIC) #73: Sat Apr 10 11:43:38 EDT 2004 kim@hrothgar.gw.com:/usr/src/sys/arch/i386/compile/GW-GENERIC i386
Architecture: i386
Machine: i386
>Description:
Tar no longer likes exclusion endinf in "*".
I have old scripts that use things like: --exclude "dev/fd/*" and
they break since upgrading to 2.0C (from 1.6ZK).
>How-To-Repeat:
beowulf:~> tar -cf - --exclude "tmp/obj/*" tmp > o.tgz
tar: Invalid replacement string option .*\/tmp\/obj\/.*\/.*
usage: tar [-]{crtux}[-befhjlmopqvwzHLOPXZ014578] [archive] [blocksize]
[-C directory] [-T file] [-s replstr] [file ...]
Exit 1
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: