I have a sigs file of the form:
<count>
.
sig
.
sig
.
and so on. Right now I use a perl script to generate a random number between
0 and (count-1), skip that many sigs and copy the next one into .signature.
It does this three times, so it's not very efficient. Can anyone suggest
another fair means to do this, reading the whole file at most once? I can
reformat the sigs file if it would make the problem easier, but I don't want
to include any more 'metasig' than I have to, since that would make my Vim
macros excessively complicated.
Each sig can contain anything except /^\.$/.
Alexis
ps. Here are some interesting things to say... (paraphrase, Dr. Seuss)
--
The more you know, the more you know you don't know.
Corollary: Those who know nothing think they know everything.
"If you think education is expensive, try ignorance" - Derek Bok
"Don't say don't quote me, because if no one quotes you, you probably haven't
said a thing worth saying" - KMFDM, Dogma