Subject: bin/25131: tar --exclude error
To: None <>
From: Kimmo Suominen <>
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
>Originator:     Kimmo Suominen
>Release:        NetBSD 2.0C from 2004-04-08
 _   _
| |_(_)_ __
| / / | '  \   Kimmo Suominen
System: NetBSD 2.0C NetBSD 2.0C (GW-GENERIC) #73: Sat Apr 10 11:43:38 EDT 2004 i386
Architecture: i386
Machine: i386
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).
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