history/savehist variables in csh

dpaulso at relay.nswc.navy.mil dpaulso at relay.nswc.navy.mil
Tue Feb 28 02:47:26 AEST 1989



A while back, I wrote:
>>The last line is not needed. csh does this `source' for you automatically.

 Sam Blanchard responded:
>	source -h ~/.history
>    adds .history to the current history.  I.e. (maybe you knew this Dave)
>    the 32 command history that Enrico has after his .login finishes is 
>    the contents of his .history file followed by the contents of his
>    .history file.  ;-)

that's right. in my inimitable clusmy fashion, i was alluding to the
fact that the mere existence of a .history file is sufficient to cause
the saved history to be placed in the current session's history list.
thus, 'the last line is not needed'

>B. Sam Blanchard         UUCP:  <backbones>!{iuvax,pur-ee}!bsu-cs!sam

dave

---
Dave Paulson	dpaulso at relay.nswc.navy.mil	(703)663-2137
"I've upped my standards; now up yours" -- Pat Paulsen



More information about the Comp.unix.questions mailing list