From owner-freebsd-questions Fri Feb 1 7:55:26 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.dra.com (mail.dra.com [192.65.218.159]) by hub.freebsd.org (Postfix) with ESMTP id 0CD7E37B405 for ; Fri, 1 Feb 2002 07:55:21 -0800 (PST) Received: from stlmail.dra.com (stlmail.dra.com [192.65.218.119]) by mail.dra.com (8.9.1/8.9.1) with ESMTP id JAA04938 for ; Fri, 1 Feb 2002 09:55:20 -0600 (CST) Received: by stlmail.dra.com with Internet Mail Service (5.5.2653.19) id <1CJCK452>; Fri, 1 Feb 2002 09:55:19 -0600 Message-ID: From: Eric Six To: "'questions@FreeBSD.ORG'" Subject: Perl question... Date: Fri, 1 Feb 2002 09:55:19 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Though this doesn't pertain to BSD, except for the fact I am running this on freebsd ;), I wanted to run it by the list as I have gotten wonderful answers before! I have about 400 primary and 300 secondary DNS records that I have migrated from a bind4 server. I need to add a '$TTL value;' to the first line of all my zone files... I have found ways to append lines to the file, but not to create a new one at the very beginning. Also, any ideas on how to automate doing this to all the files in each dir? Tia! Eric Eric Six erics@sirsi.com Network Specialist SIRSI v : 1.800.372.8527.356 f : 314.993.8927 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message