Hello all I have text files that construct from category and under it I have some variable and value something like that:
[category1] foo = "hello" boo ="bye"
[category2] boo = "my" dpp = "name" num = 242
my function getting 2 args first is category name and the second is the value under this category do I need to read all the files until im getting to the category and then do while loop until im getting to the next "[" and parse the variable value in-between ? or there is faster and better way to do it?