... BSD version of sed doesn't use all the same options.
So the script was misinterpreting .po file names as sed commands and not doing
what was intended, and set -o errexit caused early abort of the script.
* Exit the update_po_files.sh in case of errors
* Let users update audacity.pot only
This can be done by calling
AUDACITY_ONLY_POT=y ./update_po_files.sh
Updated script to create Audacity.pot with Project-Id-Version
of audacity 2.3.2 and to update the Project-Id-Version in the po files too.
Ran script so as to apply it.
... BSD version of sed doesn't know -r, but does know -E.
BSD versions of head and tail didn't know --lines= but do know -n.
Also changed the mode to executable and added #! line.