Use sed command compatible with BSD sed
Merge pull request #498 from geoadmin/dev_sed-osx

Use sed command compatible with BSD sed