Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: coop@europa.lif.icnet.uk (Richard Coop)
Subject: ksh: why do functions appear in .sh_history
Date: 12 Oct 1994 11:15:16 GMT	[thread overview]
Message-ID: <37ggg4$jte@charlie.lif.icnet.uk> (raw)

I wonder if anyone can help here. We're running Digital's OSF/1 and I'm
developing an application with the supplied Korn shell. I've  created
a file containing many functions and this file must be SOURCED.

Every time this file is sourced the history file is appended with all
these function definitions. I do not want to run the program in a
separate shell nor do I wish to exec it. I could use the autoload command
to load in the functions at run time but this would still make a single
copy of the entire function list to .sh_history.

As expected, changing the HISTFILE variable has no effect.

Any ideas?


Richard Coop,
Systems Support,
Imperial Cancer Research Fund,
London, UK.



                 reply	other threads:[~1994-10-12 11:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox