[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: .octave_hist content

From: CdeMills
Subject: Re: .octave_hist content
Date: Tue, 11 Jan 2011 10:11:34 -0800 (PST)

Following one of Larry Wall's "virtue", namelly laziness, please find
enclosed a patch against 3.3.54+ to implement duplicate removal. No
conditionnal inclusion, it just sits there. The principle is to use
libhistory "history_search" function, which performs comparisons on whole
strings. If there is a match, the old entry is removed and the new one
added. This way, only the freshest one is kept. 


View this message in context:
Sent from the Octave - General mailing list archive at

reply via email to

[Prev in Thread] Current Thread [Next in Thread]