Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Aug 1996 03:07:27 -0700 (PDT)
From:      asami@freebsd.org (Satoshi Asami)
To:        andrew@hobart.tased.edu.au
Cc:        ports@freebsd.org
Subject:   Re: distfiles as shar archives
Message-ID:  <199608211007.DAA07251@silvia.HIP.Berkeley.EDU>
In-Reply-To: <Pine.NEB.3.93.960821194036.28576D-100000@cottontail.hobart.tased.edu.au> (message from Andrew on Wed, 21 Aug 1996 19:42:48 %2B1000 (EST))

next in thread | previous in thread | raw e-mail | index | archive | help
 * 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608211007.DAA07251>