[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.
Regards
Pascal
http://octave.1599824.n4.nabble.com/file/n3209428/hist_ignore_dup.pat
hist_ignore_dup.pat
--
View this message in context:
http://octave.1599824.n4.nabble.com/octave-hist-content-tp3208693p3209428.html
Sent from the Octave - General mailing list archive at Nabble.com.
- .octave_hist content, CdeMills, 2011/01/11
- Re: .octave_hist content, Jordi GutiƩrrez Hermoso, 2011/01/11
- Re: .octave_hist content, John W. Eaton, 2011/01/11
- Re: .octave_hist content,
CdeMills <=
- Re: .octave_hist content, John W. Eaton, 2011/01/11
- Re: .octave_hist content, CdeMills, 2011/01/11
- Re: .octave_hist content, John W. Eaton, 2011/01/12
- Re: .octave_hist content, Jordi GutiƩrrez Hermoso, 2011/01/12
- Re: .octave_hist content, John W. Eaton, 2011/01/12