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>

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

[-- Attachment #1 --]
On Tue, Mar 01, 2005 at 12:22:37PM +0200, Jarrod Meyer wrote:
>  
>  
> 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? And
> what would be the syntax if this is possible? Thank you to whomever replies.

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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCJEQLWry0BWjoQKURAulOAJ91UCpyu5/4kHnf9skW+AYd2qowdACeO/jj
x/xx0EXBG7GvSwSwiqxJ7bI=
=k5H/
-----END PGP SIGNATURE-----
help

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