Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Mar 2005 20:22:40 +1100
From:      Edwin Groothuis <edwin@mavetju.org>
To:        Oliver Lehmann <lehmann@ans-netz.de>
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/79010: [patch] bsd.port.mk - all-depends-tree target
Message-ID:  <20050320092240.GE43328@k7.mavetju>
In-Reply-To: <200503200920.j2K9K6Fw077565@freefall.freebsd.org>
References:  <200503200920.j2K9K6Fw077565@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@ans-netz.de>
> To: freebsd-gnats-submit@FreeBSD.org
> Cc: Kirill Ponomarew <krion@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@mavetju.org    |          Weblog: http://weblog.barnet.com.au/edwin/



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