Closed amith-ananthram closed 3 years ago
Hi,
Thanks for pointing out the code doesn't work on OSX! Feel free to open a pull request.
Ok, in the end, I just added the code, so I'll close this issue now.
In the end, the OSX solution didn't work with other systems. So I created a separate script for the OSX solution (process_darmstadt_OSX.sh).
Thanks Jeremy (sorry, missed your comment about opening a PR)!
Hey there,
Thanks for the great repo! Just wanted to point out a little issue with processing the Darmstadt files on OSX. On OSX the sed command works a little differently so line 20 of process_darmstadt.sh should be:
Here's an explanation on StackOverflow: https://stackoverflow.com/questions/19456518/error-when-using-sed-with-find-command-on-os-x-invalid-command-code
Otherwise the script fails with the following error due to the rogue ampersands in the XML file:
Happy to open a PR with the change (tried pushing a branch but I think the repo is restricted).