Hi,
from a list of Shortwave broadcasters (HFCC "Public Data" - a pure ASCII file) I got this header:
With cl-ppcre I created a list like this one from the input:
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 ?
8)
Best regards,
mcc
from a list of Shortwave broadcasters (HFCC "Public Data" - a pure ASCII file) I got this header:
;----+----+----+------------------------------+---+----+-------+---+---+-------+------+------+-+-----+----------+---+---+---+-----+-+-----+-----+-----+-------
;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
;----+----+----+------------------------------+---+----+-------+---+---+-------+------+------+-+-----+----------+---+---+---+-----+-+-----+-----+-----+-------
The "+" are markers for the rest of the table, where a field start/end.With cl-ppcre I created a list like this one from the input:
(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)
Which shows start and end of each field (using "all-matches")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