Path: utzoo!utgpu!attcan!uunet!husc6!cmcl2!rutgers!gatech!ulysses!cjc
From: cjc@ulysses.homer.nj.att.com (Chris Calabrese[rs])
Newsgroups: comp.sys.att
Subject: Re: Questions from a new user (SUMMARY)
Summary: killing files when logging out
Keywords: ksh history
Message-ID: <10504@ulysses.homer.nj.att.com>
Date: 11 Aug 88 12:53:07 GMT
References: <620@gvgspd.GVG.TEK.COM> <11300001@osiris.cso.uiuc.edu> <226@ssbn.WLK.COM>
Distribution: na
Organization: AT&T Bell Laboratories, Murray Hill
Lines: 18

In article <226@ssbn.WLK.COM>, bill@ssbn.UUCP writes:
Referring to ksh history files with unique names...
> 
> Not to be a nit picker, but how do you get rid of them when you log out?

Since .profile is only read when logging in, not with every invocation -
that's what ENV is for, put something like this in your .profile:

...
...
HISTFILE=$HOME/.kshistory$$
/bin/ksh
rm .kshistory$$
-- 
--------
	Christopher J. Calabrese
	AT&T Bell Laboratories
	ulysses!cjc