Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!cwjcc!hal!ncoast!allbery From: allbery@ncoast.UUCP (Brandon S. Allbery) Newsgroups: comp.unix.wizards Subject: Re: .logout for ksh? Message-ID: <12664@ncoast.UUCP> Date: 9 Oct 88 02:37:30 GMT References: <1594@mcgp1.UUCP> Reply-To: allbery@ncoast.UUCP (Brandon S. Allbery) Followup-To: comp.unix.wizards Organization: Cleveland Public Access UN*X, Cleveland, Oh Lines: 16 As quoted from <1594@mcgp1.UUCP> by fst@mcgp1.UUCP (Skip Tavakkolian): +--------------- | Is there a way to execute something on exit, in Korn shell? | This would be like the ``csh'' ``.logout'' file. +--------------- Try the command: trap ". ~/.logout" EXIT Add extra traps to emulate csh ignoring of signals, etc. -- Brandon S Allbery uunet!hal.cwru.edu!ncoast!allbery allbery%ncoast@hal.cwru.edu (LAST RESORT ONLY: allbery@uunet.uu.net) DELPHI: ALLBERY comp.sources.misc is moving off ncoast -- please do NOT send submissions direct "So many articles, so little time...." -- The Line-Eater