adif-multitool
adif-multitool copied to clipboard
POTA: change MY_SIG_INFO from K-nnnnn to US-nnnnn
Not sure, if this can be done already.
I have many files, whose park numbers MY_SIG_INFO were in the old K-nnnnn format. Now they all are US-nnnnn format.
I could easily change the data part by using sed or some other tool. But the length part needs to be +1 like: <MY_SIG_INFO:6>K-1234 to <MY_SIG_INFO:7>US-1234
Can that be done now. I suppose I could assume all the records in the adif file would have the same <MY_SIG_INFO>.
So basically, can edit --set change only PART of field, and adjust the length properly?
Jerry WF5W