#!/bin/bash

if [[ `uname` == Darwin* ]]
then
    gsed "$@"
else
    sed "$@"
fi