Subject: Re: Source distributions vs. patches
To: None <netbsd-users@NetBSD.ORG>
From: Christofer C. Bell <cbell@ukans.edu>
List: netbsd-users
Date: 05/11/1998 16:16:10
Stan Brown wrote:
> >> zcat $distfile | ( cd /usr/src | tar --unlink -xvpf - )
> 
>         Wouldn't that be gunzip $distfile | ( cd /usr/src | tar --unlink -xvpf
>         - )
> 
>         ?
> 

Actually, I suppose it would be more correct to phrase it either as:

gunzip -c $distfile | ( cd /usr/src | tar --unlink -xvpf - )

or 

gzip -dc $distfile | ( cd /usr/src | tar --unlink -xvpf - ) 

Since the -c option is required to unzip to standard out.

--
Christofer C. Bell                      Information Systems Lead
Union Computing Services                email: cbell@ukans.edu
University of Kansas                    phone: 785-864-4893