Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Mar 2005 02:29:32 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Jarrod Meyer <jarrodm@webmail.co.za>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: referencing in files
Message-ID:  <20050301102931.GA11779@xor.obsecurity.org>
In-Reply-To: <20050301102238.4546B1FFD89@overport.cybertek.co.za>
References:  <20050301102238.4546B1FFD89@overport.cybertek.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050301102931.GA11779>