From owner-freebsd-questions Wed Apr 3 18: 3:59 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost.iprg.nokia.com (mailhost.iprg.nokia.com [205.226.5.12]) by hub.freebsd.org (Postfix) with ESMTP id 2381E37B41C for ; Wed, 3 Apr 2002 18:03:53 -0800 (PST) Received: from darkstar.iprg.nokia.com (darkstar.iprg.nokia.com [205.226.5.69]) by mailhost.iprg.nokia.com (8.9.3/8.9.3-GLGS) with ESMTP id SAA02006; Wed, 3 Apr 2002 18:03:52 -0800 (PST) Received: (from root@localhost) by darkstar.iprg.nokia.com (8.11.0/8.11.0-DARKSTAR) id g3423o919504; Wed, 3 Apr 2002 18:03:50 -0800 X-mProtect: <200204040203> Nokia Silicon Valley Messaging Protection Received: from UNKNOWN (172.19.66.125, claiming to be "iprg.nokia.com") by darkstar.iprg.nokia.com smtpdt5exxg; Wed, 03 Apr 2002 18:03:47 PST Message-ID: <3CABB480.4B218472@iprg.nokia.com> Date: Wed, 03 Apr 2002 18:03:44 -0800 From: vijay singh Organization: nokia X-Mailer: Mozilla 4.75 [en]C-CCK-MCD {Nokia} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Peter Leftwich Cc: FreeBSD Questions Subject: Re: gzip: stdout: Broken pipe References: <20020403201052.V68910-100000@earl-grey.cloud9.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi. The exact call made from a script run from cron, which looks for tgz files and acts on them is tar -xz --unlink -f ${tgz-file} Should this be split into gunzip and tar? thanks, vijay Peter Leftwich wrote: > > On Wed, 3 Apr 2002, vijay singh wrote: > > Hello, the gzip utility sometimes prints this message while uncompressing a tgz file. I found that this is really harmless, but is there is a fix for this available somewhere? Some scripts catch the return code and precess it as an error. I am using a 2.x based FreeBSD system. Kindly cc me in the reply. > > br, vijay > > Why not use gunzip instead of gzip? Sometimes *.tgz files are confused by > the OS as destined for *tape archives* and hence stdout gets confused as > such! > > Can you repost with a "script" of what occurs when? (i.e. include your > command line and the resulting errors as they appear) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message