On 17 May 1997, Kai Henningsen wrote:

> (Have you _ever_ seen a tar containing a path with ".."? Those are  
> extremely rare.)

 I think that this is the way we should handle this:

 if ( tar tvzf $tarfile | grep -q "\.\..*/" ) ; then exit 1 ; fi

 Or something similar...

-- 
Nicolás Lichtmaier.-
[EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to