'sed' command updated to be strictly POSIX compliant
Merge pull request #123 from KuiKui/sed-posix-bug-fix

'sed' command updated to be strictly POSIX compliant