>> erm, you could use head? > > Once upon a time 'head' was the least portable way to get the first few > lines of a file. 'Sed' usually stands in for 'head' (though it's by far -snip- wow, greg, that is really super! thanks! alex