Quote:
Originally Posted by OciXCrom
Try removing the +1 in the loop.
Code updated.
|
It's work like delete all lines except for who are not expired but i think it is not helpful because if someone put this symbol ; for disabling something will be deleted too.
Exmaple:
Quote:
#Confing file
"Pro1" "123+" "abcdefghijklmnopqrstuvwxy" "12/31/2018 00:00:00"
"Pro2" "123+" "abcdefghijklmnopqrstuvwxy" "12/31/2019 00:00:00"
;"Pro3" "123+" "abcdefghijklmnopqrstuvwxy" "12/31/2020 00:00:00"
"Pro4" "123+" "abcdefghijklmnopqrstuvwxy" "12/31/2021 00:00:00"
"Pro5" "123+" "abcdefghijklmnopqrstuvwxy" "12/31/2022 00:00:00"
"Pro6" "123+" "abcdefghijklmnopqrstuvwxy" "12/31/2023 00:00:00"
;"Pro7" "123+" "abcdefghijklmnopqrstuvwxy" "12/31/2026 00:00:00"
|
Quote:
"Pro5" "123+" "abcdefghijklmnopqrstuvwxy" "12/31/2022 00:00:00"
"Pro6" "123+" "abcdefghijklmnopqrstuvwxy" "12/31/2023 00:00:00"
|
Is there another way to do that ? or what is the wrong i did in stock that i mentioned in the first post
__________________