On Fri, Oct 21, 2005 at 09:59:29PM -0400, Rick Pasotto wrote: > On Fri, Oct 21, 2005 at 09:57:13PM -0400, Roberto C. Sanchez wrote: > > On Fri, Oct 21, 2005 at 08:45:38PM -0500, Martin McCormick wrote: > > > A Bourn shell script I am trying to run isn't behaving like I > > > expected it to and I am not sure how to make it play nice. There are > > > a bunch of DNS zone files that need the bottom 6 lines chopped off and > > > I hoped to do that with a while loop driven by the ls command. In > > > > Why not just use wc and sed? > > Why not just 'head'? > > head -n -6 >
Touché :-) -Roberto -- Roberto C. Sanchez http://familiasanchez.net/~roberto
pgpxENwbaFpJn.pgp
Description: PGP signature