So with just these changes, I was able to quickly reduce the size of the script from 317 lines to 250 lines:
I went a bit further and got it down to 216 lines. :)
I also noticed that on line 30 (original file) that the regular expression was testing if the file name ended with '.v' but the period wasn't escaped so I also assumed the same problem on lines 71 and 109.
In reply to Re^2: Understanding the scripting
by jwkrahn
in thread Understanding the scripting
by ameezys
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |