Newsgroups: comp.unix.shell
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!news.cs.indiana.edu!att!cbnewsm!crr
From: crr@cbnewsm.att.com (Chris Riley  (201) 564-2516)
Subject: processing ksh history files
Organization: AT&T Bell Laboratories
Distribution: na
Date: Mon, 15 Apr 91 18:00:44 GMT
Message-ID: <1991Apr15.180044.24231@cbnewsm.att.com>
Lines: 13

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
