Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!husc6!panda!teddy!jpn From: jpn@teddy.UUCP (John P. Nelson) Newsgroups: comp.unix.questions Subject: Re: Suppressing the message of the day. Message-ID: <4025@teddy.UUCP> Date: Mon, 18-May-87 17:37:45 EDT Article-I.D.: teddy.4025 Posted: Mon May 18 17:37:45 1987 Date-Received: Tue, 19-May-87 05:35:41 EDT References: <7422@brl-adm.ARPA> Reply-To: jpn@teddy.UUCP (John P. Nelson) Organization: GenRad, Inc., Concord, Mass. Lines: 10 > you might use something like: > > cmp -s .hushlogin /etc/motd > if ( $status ) then > cat /etc/motd | tee .hushlogin > endif Or, more compactly: if ! { cmp -s .hushlogin /etc/motd } tee .hushlogin < /etc/motd