ports/79010: [patch] bsd.port.mk - all-depends-tree target
Edwin Groothuis
edwin at mavetju.org
Sun Mar 20 09:22:43 UTC 2005
On Sun, Mar 20, 2005 at 09:20:06AM +0000, Oliver Lehmann wrote:
> The following reply was made to PR ports/79010; it has been noted by GNATS.
>
> From: Oliver Lehmann <lehmann at ans-netz.de>
> To: freebsd-gnats-submit at FreeBSD.org
> Cc: Kirill Ponomarew <krion at voodoo.oberon.net>
> Subject: Re: ports/79010: [patch] bsd.port.mk - all-depends-tree target
> Date: Sun, 20 Mar 2005 10:12:11 +0100
>
> Kirill Ponomarew wrote:
>
>
> > Ah ok, np, now I understand the reason, I'll try to play with awk a
> > little, to get it :)
>
> | awk '{a=split($$0,c,"\|");for(j=1;j<=a;j++) {if(j<a) {sub(/.*/," ",c[j])} else {c[j]=" +"c[j]"\n"} printf("%s",c[j])}}' ; \
>
> instead of perl might work. But since even the perl line produced some
> wrong output i can't finally test it.
If you give me an example I'll be able to learn from my mistakes.
Edwin
--
Edwin Groothuis | Personal website: http://www.mavetju.org
edwin at mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/
More information about the freebsd-ports-bugs
mailing list