Compatibility with older (eg. mac) sed