Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Aug 1996 03:30:56 -0700 (PDT)
From:      asami@freebsd.org (Satoshi Asami)
To:        andrew@ugh.net.au
Cc:        ports@freebsd.org
Subject:   Re: distfiles as shar archives
Message-ID:  <199608211030.DAA07390@silvia.HIP.Berkeley.EDU>
In-Reply-To: <Pine.NEB.3.93.960821201246.29501B-100000@mopsy.hobart.tased.edu.au> (message from Andrew on Wed, 21 Aug 1996 20:16:09 %2B1000 (EST))

next in thread | previous in thread | raw e-mail | index | archive | help
 * > 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.
 * 
 * Ok...thanks. I wasn't sure if 'complex' commands were the done thing in
 * port makefiles.

It's quite simple, as it's done by string substitution.  bsd.port.mk
will only put them together in one line and give it to sh, who then
thinks what to do ("hmm, this looks like a pipe 'cause it has a |, the
text leading up to this was...").

Satoshi



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