Posted to tcl by dandyn at Thu Feb 06 19:28:06 GMT 2025view pretty

I'm trying to use one file instead of multiple files for storing data.
Any good way how to read/write/delete to each section?

[IGNORE]
#chan1 {word1 word2 word3}
#chan2 {word1 word2 word3}
#chan3 {word1 word2 word3}

[HISTORY]
{bla bla bla1} {bla bla bla 2} {bla bla bla3}

[HIGHLIGHT]
#chan1 {word1 word2 word3}
#chan2 {word1 word2 word3}
#chan3 {word1 word2 word3}