www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/02/06:27:28

Date: Sun, 2 Feb 1997 13:17:00 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Colin W. Glenn" <cwg01 AT gnofn DOT org>
cc: Gurunandan R Bhat <grbhat AT unigoa DOT ernet DOT in>, djgpp AT delorie DOT com
Subject: Re: tar for DJGPP
In-Reply-To: <Pine.GSO.3.95.970201134046.19453D-100000@sparkie.gnofn.org>
Message-ID: <Pine.SUN.3.91.970202131443.24531C-100000@is>
MIME-Version: 1.0

On Sat, 1 Feb 1997, Colin W. Glenn wrote:

> FUNCTION validfileex$ (lix AS STRING, lox AS STRING)
>  SHELL "\zip\tar -f " + lox + " -novx " + lix + " >temp.dat"
> (...)
> END FUNCTION

Use this:

	djtar -x -p -o /dir/subdir/file archive.tar >temp.dat

this will put only the file named after the -o switch to temp.dat.

> DJTAR doesn't seem to operate as such, it extract 'in full' and it appears to 
> write to stderr, redirection fails.

Use redir to redirect stderr.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019