I want to write a program that will look through file names in a directory
These files will be HTML or PHP (or ASP) or CSS - but just be plain text files
There will be special file names, like index.myName.textparser.html
When ever it comes across a file with 'textparser' in, it will go through all other text files in the directory and search for:
<!-- Start myName -->
<!-- End myName -->
and replace everything between those 2 markers the contents of the file index.myName.textparser.html
I'm hoping someone will understand what I want to do!
What language would be best to code in?
Important: the program MUST be standalone!
Otherwise, I would write using Perl or something for multi platform - but then you need the end user to have the Perl programming language!
ALSO of consideration: I would like the end result be multi platform and be usable on many OS's
I'd also like to automatically do sub directories - but that can come afterwards - that would be easy to add once we have figured out the first part
Any feedback would be great