I am trying to create a ruby script that loads 2 .sql files and removes all strings that begin with ‘AUTO_INCREMENT=’
There are multiple occurrences of this in my .sql files and all I want is them to be removed from both files.
Thanks for any help or input as I am new to ruby and decided to give it a try.
I am trying to create a ruby script that loads 2 .sql files and
Share
Given the right regexp (the one below might not be the most correct given the syntax), and the answer given there to a similar question, it is rather straightforward to put a script together: