I have recently converted 10 JavaScript files into one file, which I then run a JavaScript compiler on. I just had a bug where I had reused a function name.
Is there a tool to check for duplicate rows/function names in the combined file?
Or should I create a little program?
I haven’t tried this but the ‘Dupli Find’ available at http://www.rlvision.com/dupli/about.asp may be of help to you.
The windows powershell script outlined in http://secretgeek.net/ps_duplicates.asp also helps you write a custom tool.
There is also a scripting solution at http://www.microsoft.com/technet/scriptcenter/resources/qanda/aug05/hey0819.mspx