from a list of Shortwave broadcasters (HFCC "Public Data" - a pure ASCII file) I got this header:
Code: Select all
;----+----+----+------------------------------+---+----+-------+---+---+-------+------+------+-+-----+----------+---+---+---+-----+-+-----+-----+-----+-------
;FREQ STRT STOP CIRAF ZONES LOC POWR AZIMUTH SLW ANT DAYS FDATE TDATE MOD AFRQ LANGUAGE ADM BRC FMO REQ# OLD ALT1 ALT2 ALT3 NOTES
;----+----+----+------------------------------+---+----+-------+---+---+-------+------+------+-+-----+----------+---+---+---+-----+-+-----+-----+-----+-------
With cl-ppcre I created a list like this one from the input:
Code: Select all
(5 10 10 15 15 46 46 50 50 55 55 63 63 67 67 71 71 79 79 86 86 93 93 95 95 101 101 112 112 116 116 120 120 124 124 130 130 132 132 138 138 144 144 150 150 158)
Next will be get one pair of offsets off this list ...
Is "nth" the appropiate way or am I still "procedure poisoned" ???

What is the best "LISPy" way to this without blinding a newbie with all innermost secrects of LISP in one answer at once ?



Best regards,
mcc