Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* ksh: why do functions appear in .sh_history
@ 1994-10-12 11:15 Richard Coop
  0 siblings, 0 replies; only message in thread
From: Richard Coop @ 1994-10-12 11:15 UTC (permalink / 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.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1994-10-12 11:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-10-12 11:15 ksh: why do functions appear in .sh_history Richard Coop

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