in reply to Script fails to insert text and appends it towards the end of file.
It's kinda hard to tell where this code may be going, but it smells like there should be a database involved. If this sort of random access to lines continues to be required beyond an initialisation phase then a database is likely to perform better with less messing around and less effort than most other techniques.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Script fails to insert text and appends it towards the end of file.
by always_coys (Novice) on Nov 22, 2020 at 15:14 UTC | |
by GrandFather (Saint) on Nov 22, 2020 at 20:05 UTC | |
by Bod (Parson) on Nov 22, 2020 at 23:24 UTC |