From owner-freebsd-stable Wed Apr 11 6:43:18 2001 Delivered-To: freebsd-stable@freebsd.org Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by hub.freebsd.org (Postfix) with ESMTP id 86CBF37B422 for ; Wed, 11 Apr 2001 06:43:14 -0700 (PDT) (envelope-from jcm@freebsd-uk.eu.org) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97] ident=root) by probity.mcc.ac.uk with esmtp (Exim 2.05 #4) id 14nKto-0008Ee-00 for freebsd-stable@freebsd.org; Wed, 11 Apr 2001 14:43:08 +0100 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.1/8.11.1) id f3BDh7f67974 for freebsd-stable@freebsd.org; Wed, 11 Apr 2001 14:43:07 +0100 (BST) (envelope-from jcm) Date: Wed, 11 Apr 2001 14:43:07 +0100 From: j mckitrick To: freebsd-stable@freebsd.org Subject: bug in tar exclude file handling? Message-ID: <20010411144307.A67926@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Perhaps I have overlooked something, but in writing a recent backup script, I ran across what might be a bug. In the 'exclude' file you may use with tar, if there is ANY whitespace on the lines after the file names, tar will not match them. This caused me untold grief when 2 apparently identical exclude files produced entirely different results. One worked, the other didn't. At the least, maybe a note could be added to the man page. Or would this be considered a bug? Or is it a 'feature' designed to protect backward compatibility or interaction with other progs? Jonathon -- "One World, One Web, One Program." - Microsoft Promotional Ad. "Ein Volk, Ein Reich, Ein Fuhrer." - Adolf Hitler To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message