date command when read /etc/motd?

From: Hugh Pritchard <Hugh.Pritchard_at_wcom.com>
Date: Fri, 06 Aug 1999 15:56 -0400 (EDT)

Anyone have an implementation (elegant or not) of presenting the
output of a date command when anyone reads the /etc/motd file? I
know I can just put "Attention, Y2K testers: Date is `date`" in
/etc/profile, but they tend to ignore stuff that isn't on the very
last line of output. I'd like to put this line, by means of a pipe,
ksh co-process, or whatever works, at the end of /etc/motd. If you
have some code or ideas, thanks.

     Hugh

     Hugh.Pritchard_at_WCom.com (or 9007944_at_pageMCI.com to my pager)
     (703) 341-6995; page 1-888-900-7944; FAX (703) 341-9126
Received on Fri Aug 06 1999 - 20:00:11 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT