remove GNU-specific usage for `sed` in shell example

This ensures that the shell example works with GNU and non-GNU `sed`.
Merge pull request #5 from ericvw/dev/fix_example_sed

remove GNU-specific usage for `sed` in shell example