Article View: gnu.utils.bug
Article #147Feature/bug in Gnu tar 1.10
From: Robert Crosson
Date: Tue, 14 Apr 1992 19:26
Date: Tue, 14 Apr 1992 19:26
19 lines
1255 bytes
1255 bytes
I have discovered what I think is a bug (feature?) in Gnu tar 1.10. First of all, I'm running on Interactive's Unix (Sys VR3.2) version 2.2 on a 386-33 PC clone. I compiled the tar source using gcc 1.40. The tar program works in all other respects that I've tried. The bug occurs when using the '-T' option. I wrote a Bourne shell script that does the following: find <options> | sed -f <sed-script-file> | tar -cf - -T - > <filename> When sed completes without producing any output, tar uses the current directory as the place to start archiving data. It's as if the '-T -' hadn't been used and no file names or directories had been given. I had expected tar to exit gracefully without generating any output in these circumstances, but it didn't. Is this a bug? Bob Crosson crosson@cam.nist.gov
Technical Details
Message-ID:
<9674@fs3.cam.nist.gov>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cam.NIst.GOV!crossonShow Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cam.NIst.GOV!crosson From: crosson@cam.NIst.GOV (Robert Crosson) Subject: Feature/bug in Gnu tar 1.10 Message-ID: <9674@fs3.cam.nist.gov> Keywords: Gnu tar bug Sender: gnulists@ai.mit.edu Organization: National Institute of Standards and Technology Distribution: gnu Date: Tue, 14 Apr 1992 19:26:06 GMT Approved: bug-gnu-utils@prep.ai.mit.edu Lines: 20