From owner-freebsd-ports Wed Aug 21 03:07:41 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA26328 for ports-outgoing; Wed, 21 Aug 1996 03:07:41 -0700 (PDT) Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id DAA26323 for ; Wed, 21 Aug 1996 03:07:36 -0700 (PDT) Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.7.5/8.6.9) id DAA07251; Wed, 21 Aug 1996 03:07:27 -0700 (PDT) Date: Wed, 21 Aug 1996 03:07:27 -0700 (PDT) Message-Id: <199608211007.DAA07251@silvia.HIP.Berkeley.EDU> To: andrew@hobart.tased.edu.au CC: ports@freebsd.org In-reply-to: (message from Andrew on Wed, 21 Aug 1996 19:42:48 +1000 (EST)) Subject: Re: distfiles as shar archives From: asami@freebsd.org (Satoshi Asami) Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk * Well I have fixed that problem (the cd is still in the EXTRACT_CMD line). Did you get my mail? * Now I have the problem that there is garbage at the top of the sahr * archive that makes sh produce errors...when it reaches the actual shell * script bit it goes ok but it looks ugly. Any suggestions? You can use sed to cut off the lines you don't need before piping it to sh. Either use a pattern match, or just count the number of lines and do a sed -e '1,10d' kind of thing. Satoshi