Got this from a merlyn post,

while (<IN_FILE>) {
  next if 1..10;
  print OUT_FILE $_;
} 

> -----Original Message-----
> From: Cabezon Aurélien [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 14, 2002 12:56 PM
> To: [EMAIL PROTECTED]
> Subject: deleting lines in file
> 
> 
> hi,
> i wonder how to delete the first 10 lines in a file.
> some idea?
> 
> thx
> -ac
> 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to