ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: How to read a file without the first n lines
Date Tue, 08 Apr 2003 16:29:29 GMT
Ok, seems that we have a common line.
I could (try) Magesh┬┤s suggestion tomorrow:


<!-- Get the first ten lines after skipping 2 lines -->
<head lines="10" skip="2"/>

<!-- Get the last ten lines after skipping last 3 lines -->
<tail lines="10" skip="3"/>


Jan

> -----Urspr├╝ngliche Nachricht-----
> Von: Stefan Bodewig [mailto:bodewig@apache.org]
> Gesendet am: Dienstag, 8. April 2003 18:26
> An: user@ant.apache.org
> Betreff: Re: How to read a file without the first n lines
> 
> On Tue, 8 Apr 2003, Magesh Umasankar <umagesh@apache.org> wrote:
> 
> > I do not think a new filter like subfilter is necessary -
> > sub filter is actually a comination of two filter readers
> > in the filter chain - namely tail and head (with the
> > above suggested modification).
> 
> I agree with you.  It's better to have small filters and assemble
> chains from them.
> 
> Errm, I am writing this mail using Gnus in XEmacs, does that
> disqualify me for "small is beautiful" discussions 8-).
> 
> Stefan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message