I see that you are already using file operations in your script. What stops you from simply reading the contents of a file into $s?
For the @replace array you can just read a file line by line and split on a predefined delimiter.
In reply to Re: Find Replace text with list
by moritz
in thread Find Replace text with list
by wa2nlinux
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |