From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 10:29:33 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 7394616A4CE for ; Tue, 1 Mar 2005 10:29:33 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.199.47.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32D1043D31 for ; Tue, 1 Mar 2005 10:29:33 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 1B4AF512A7; Tue, 1 Mar 2005 02:29:32 -0800 (PST) Date: Tue, 1 Mar 2005 02:29:32 -0800 From: Kris Kennaway To: Jarrod Meyer Message-ID: <20050301102931.GA11779@xor.obsecurity.org> References: <20050301102238.4546B1FFD89@overport.cybertek.co.za> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rwEMma7ioTxnRzrJ" Content-Disposition: inline In-Reply-To: <20050301102238.4546B1FFD89@overport.cybertek.co.za> User-Agent: Mutt/1.4.2.1i cc: freebsd-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: Tue, 01 Mar 2005 10:29:33 -0000 --rwEMma7ioTxnRzrJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 01, 2005 at 12:22:37PM +0200, Jarrod Meyer wrote: > =20 > =20 > Just a quick question, is there a way to tell a normal text file (for > instance: /etc/motd) to get a value from another file when it displays? A= nd > what would be the syntax if this is possible? Thank you to whomever repli= es. No, a text file is just a dumb string of bits :-) The program that displays it (e.g. login(1)) might be smarter though, it depends what you want to do. Kris --rwEMma7ioTxnRzrJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCJEQLWry0BWjoQKURAulOAJ91UCpyu5/4kHnf9skW+AYd2qowdACeO/jj x/xx0EXBG7GvSwSwiqxJ7bI= =k5H/ -----END PGP SIGNATURE----- --rwEMma7ioTxnRzrJ--