From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 09:44:50 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C04CD16A4E8 for ; Wed, 2 Mar 2005 09:44:48 +0000 (GMT) Received: from hydra.cybertek.co.za (hydra.cybertek.co.za [196.25.191.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6809643D1F for ; Wed, 2 Mar 2005 09:44:45 +0000 (GMT) (envelope-from jarrod@cybertek.co.za) Received: from overport.cybertek.co.za (mail.cybertek.co.za [196.25.191.15]) by hydra.cybertek.co.za (Postfix) with ESMTP id 8361A422A5E; Wed, 2 Mar 2005 11:42:59 +0200 (SAST) Received: from localhost (localhost [127.0.0.1]) by overport.cybertek.co.za (Postfix) with ESMTP id D49601FFC70; Wed, 2 Mar 2005 11:43:12 +0200 (SAST) Received: from overport.cybertek.co.za ([127.0.0.1]) by localhost (overport.cybertek.co.za [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 73215-02-96; Wed, 2 Mar 2005 11:43:09 +0200 (SAST) Received: from cyberben (unknown [192.168.2.21]) by overport.cybertek.co.za (Postfix) with ESMTP id 007AE1FFC6C; Wed, 2 Mar 2005 11:43:08 +0200 (SAST) From: "Jarrod - Cybertek" To: "'Kris Kennaway'" Date: Wed, 2 Mar 2005 11:43:13 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <20050302075746.GA60502@xor.obsecurity.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcUe/ZqlTLK6JWmPS8qjvohZfYaA+wADnq0A Message-Id: <20050302094308.007AE1FFC6C@overport.cybertek.co.za> X-Virus-Scanned: amavisd-new at cybertek.co.za cc: questions@freebsd.org Subject: RE: referencing in files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2005 09:44:51 -0000 First, thanks. What I just wanted to try out is to have my /etc/motd updated automatically from a changing value in another text file. So that way I wouldn't have to update both every time. No way for that? Thanks. ---------------------------------------------------------------- Jarrod Meyer | Technical | C Y B E R T E K Tel: 031-2075287 Fax: 031-2082210 E-mail: jarrod@cybertek.co.za Website: www.cybertek.co.za > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of Kris Kennaway > Sent: Wednesday, March 02, 2005 9:58 AM > To: Jarrod Meyer > Cc: freebsd-questions@freebsd.org > Subject: Re: referencing in files > > On Wed, Mar 02, 2005 at 09:23:35AM +0200, Jarrod Meyer wrote: > > What I meant was, kinda like if you have a changing value in one file, > > right? And you want it to automatically update in another file without > > having to always manually do it yourself and without writing a script, > can > > you just link/reference the changing value in the first file to a point in > > the second so that it becomes automated? > > As I said, no, but if you tell us what you're specifically trying to > achieve there might be another way. > > Kris