[comp.unix.shell] processing ksh history files

crr@cbnewsm.att.com (Chris Riley (201) 564-2516) (04/16/91)

Is there a way to shrink the size of ksh's history file?  I know about
HISTSIZE, but what I want is more subtle.

I frequently run a complicated command many times in a day, and want to
remove multiple occurances of commands at the end of the day so that these
commands would stick around longer, without greatly increasing the size of
the history file.  I am looking for something like this:

	sort $HOME/.sh_history | uniq

Does anyone know of something like this?
-- 
Chris Riley            chris.riley@attbl.att.com